☰Read-only archive⌕
Looking for help with Bokeh?

This is a read-only archive. Ask questions and join the conversation on GitHub.

Visit Community Support on GitHub →
Archived discussions · Captured October 28, 2026

Plotting interactive Networkx graphs with Bokeh?

Community Support
google
google

Hi,

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!

⌁   Link to post
Bryan
Bryan

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.

Bryan

···

On Aug 26, 2015, at 12:16 PM, google@django.in-berlin.de wrote:

Hi,

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 bokeh+unsubscribe@continuum.io.
To post to this group, send email to bokeh@continuum.io.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/64cded6f-c2fd-4a61-97cc-0f8078956953%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.

⌁   Link to post
Sarah_Bird3
Sarah_Bird3

There’s an open issue here: https://github.com/bokeh/bokeh/issues/187

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 bryan@bokeh.org 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.

Bryan

On Aug 26, 2015, at 12:16 PM, google@django.in-berlin.de wrote:

Hi,

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 bokeh+unsubscribe@continuum.io.

To post to this group, send email to bokeh@continuum.io.

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/64cded6f-c2fd-4a61-97cc-0f8078956953%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/d/optout.

–

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 bokeh+unsubscribe@continuum.io.

To post to this group, send email to bokeh@continuum.io.

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/E7B0AD50-A3DA-49BB-AC32-D8A9C6698E58%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.

⌁   Link to post
ianhelle
ianhelle

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.

⌁   Link to post

End of archived discussion · Replies are disabled