Yeah NetworkX is a fantastic library. My datasets are generally small
so I haven't pushed the efficiency limits of pure-Python vs Boost,
igraph, etc. But since the core of NetworkX is based on Python
dictionaries, the performance is generally pretty good.
Building a query language to traverse NetworkX graphs such as the
example you gave does sound feasible. I think that could work as a
function that takes a query and a graph, and returns the result. I
don't think it would require modifying the base NetworkX classes.
Building such an abstraction to allow these queries would be a benefit
to the larger NetworkX community - especially in the scientific/data
analyis space.
> --
> You received this message because you are subscribed to the Google Groups
> "networkx-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
networkx-discu...@googlegroups.com.
> To post to this group, send email to
networkx...@googlegroups.com.
> Visit this group at
http://groups.google.com/group/networkx-discuss.
> For more options, visit
https://groups.google.com/d/optout.