☰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

Js_on_change not working properly for Select widget on Network Graph

Community Supportbokehjs
linacar231
linacar231

Hi!

I am trying to update my Network graph based on a column filter using a select widget. The graph is showing properly but only for the default values. When I use the select widget nothing happens, I also don’t see any errors when I inspect the console on my browser. I followed carefully a working example (non for a network graph, though), but it is not working.

Here is a post in Stackoverflow which includes a MRE with my latest efforts. Unfortunately no one has replied yet ( I have tried posting a couple times). I don’t know what else to try.

⌁   Link to post
gmerritt123
gmerritt123

So I have a clue that’ll probably help: the datasource being used to draw the edge_renderer is NOT the same datasource you instantiate with source:

image

I’d try rearranging your code a little bit and then passing not your original source but network_graph.edge_renderer.data_source into the CustomJS code and update that.

⌁   Link to post

End of archived discussion · Replies are disabled