-
-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nxviz <> grave #25
Comments
Hey @ericmjl ! From a quick glance it does not look like we have too much overlap of functionality yet. Do you have thoughts on https://github.com/networkx/grave/blob/master/doc/developer/notes.rst ? Poking around nxviz I am encouraged by some of the convergent design (expecting style information to be stashed someplace on the input graph). One thing I really like about grave (and I am definitely biased here) is that there is an Line 221 in af475f0
|
@tacaswell nice to know you're working with the grave project! I am curious, though how did the name get chosen? It possess quite a bit of, err, gravity. 😄 One of the things that I had aspired with nxviz was that users needn't explicitly specify what exact styling went with each node and/or edge. Rather, it was inferred from the data types (for which I have to admit, I only have some heuristics encoded to detect these data types automatically). Is this something that grave has enabled? As for the thoughts on notes:
|
They started from the fact that mathematicians usually refer to a graph as |
Doing a composite artist was not too bad, the biggest issue was sorting out which of the artist methods need to be forwarded directly and which need to be intercepted and managed. I am less than fully sold on declarative styling. When it works, I can see it works well, but in general it requires having too much understanding of the input data that is available. There are a couple of examples doing interesting coloring / scaling based on computed graph properties (centrality, degree, etc) or based on being in the dominating set. I guess you could push everything back to two data frames(one for edges and their properties and one for edges an fall back to a declarative grammer for data frames? I suspect building a declarative API on top of grave would not be that hard. One nice thing of the approach in grave is trees are (to first order) graphs with a different layout engine. |
Friends! I noticed this pop up as I was browsing around GitHub.
I've been developing a package since 2016 (after I met @hagberg at SciPy 2016). It's called nxviz, and it's designed to provide a declarative (i.e. seaborn-style) API to draw graphs in a rational fashion. Included at the moment are ArcPlots, MatrixPlots and CircosPlots.
I'm hoping to not have duplicated efforts in any place, and I'd love to see how we could work together. Please let me know!
The text was updated successfully, but these errors were encountered: