☰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

Disable edges from_networkx graph

Community Support
kwirtz
kwirtz

Hello,

I’m currently trying to plot a graph from networkx with around 2k nodes. The edges makes it unreadable so I used a glyph to hide them (line_alpha=0) until the node associated with them is clicked. The issue with this solution is that the graph is really laggy so I was wondering if there’s another solution where the lines are plotted only when the node is clicked (hence they are non existent at first and not hidden like I do right now).

Thank you in advance.

⌁   Link to post

End of archived discussion · Replies are disabled