I’m looking for options to plot graphs created with https://networkx.github.io inside IPython notebooks. So far, all the examples I’ve found seem to use Matplotlib for that purpose, which apparently doesn’t provide the interactivity I’m looking for, like dragging nodes around and having the layout slightly change accordingly. Is there any hope to do this with Bokeh?
This kind of thing is definitely of interest and on the roadmap, but that's true of many things. There are currently some other high priorities that are occupying the entire team. If a new contributor worked on this that could potentially accelerate things. Otherwise I would say this would doubt anyone on the current core team would be able to start looking at it for at least several months.
I'm looking for options to plot graphs created with https://networkx.github.io inside IPython notebooks. So far, all the examples I've found seem to use Matplotlib for that purpose, which apparently doesn't provide the interactivity I'm looking for, like dragging nodes around and having the layout slightly change accordingly. Is there any hope to do this with Bokeh?
Personally I think when the new server work is done there’ll be some quick wins and some really interesting opportunities.
Best
Bird
···
On Thu, Aug 27, 2015 at 9:54 AM, Bryan Van de Ven [email protected] wrote:
This kind of thing is definitely of interest and on the roadmap, but that’s true of many things. There are currently some other high priorities that are occupying the entire team. If a new contributor worked on this that could potentially accelerate things. Otherwise I would say this would doubt anyone on the current core team would be able to start looking at it for at least several months.
I’m looking for options to plot graphs created with https://networkx.github.io inside IPython notebooks. So far, all the examples I’ve found seem to use Matplotlib for that purpose, which apparently doesn’t provide the interactivity I’m looking for, like dragging nodes around and having the layout slightly change accordingly. Is there any hope to do this with Bokeh?
Thanks!
–
You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
This is a question from 5 years ago that I wanted to re-ask.
There are a bunch of graph/network visualization packages out there but often require local binary installation and are kind of difficult for many Jupyter notebook users to get going. We’ve search for a while for something useable in notebooks but haven’t come across anything (and already use Bokeh for several other visualizations).
Most of what you would need to render/visualize/interact with a network is already in Bokeh and the rendering perf would allow it work pretty well with even large graphs.
The things that would be top of my priority list are:
a decently-sized gallery example of creating a graph with a few hundred nodes that has things like tooltips populated from nx attributes
dynamic layout and ability to control some parameters interactively (examples I’ve seen use a static layout from an NX layout but not having the glyph layout recalculate dynamically). Ability to add layout algos would be a bonus.
I’d be happy to help with the gallery example but my knowledge of JS and the Bokeh programming model is close to zero.