I have a network graph with filters that use CustomJS callbacks. When filtering I would like to change the layout of the nodes in the callback.
For my graph I use networkx and the spring_layout.
Once filtered, I would like to rearrange the individual nodes by initializing them in the callback with a new layout. For example with a planar_layout.
Is this possible?
Is it possible to call an external Python script in the callback (For example with Ajax)? So I could change the layout in this script and return it to the callback.
Thanks for the reply.
Unfortunately I can’t use the bokeh server in my case.
I am afraid I don’t. It looks like there is a list of several with some comparisons here: