You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think that it is easier to understand that node / edge attributes are being converted in from_networkx by adding an example that displays node hover information at the end of this page. Visualizing Network Graphs https://bokeh.pydata.org/en/latest/docs/user_guide/graph.html
In order to display the node / edge attributes in node_renderer / edge_renderer as a label, it seems that GraphRenderer itself needs additional modification.
Therefore, it is not shown in the example above.
Instead, I added codes to change the edge color using edge attributes.
I sent a PR with this content, so I would like to discuss it there.
…8291)
* Add an example to demonstrate converting node/edge attributes in from_networkx (#8286)
* Fixed the title underline is too short
* remove print() to be consistent
…okeh#8291)
* Add an example to demonstrate converting node/edge attributes in from_networkx (bokeh#8286)
* Fixed the title underline is too short
* remove print() to be consistent
Add (or update) an example to demonstrate converting node/edge attributes in
from_networkx
.Related an issue/PR:
I think that it is easier to understand that node / edge attributes are being converted in
from_networkx
by adding an example that displays node hover information at the end of this page.Visualizing Network Graphs
https://bokeh.pydata.org/en/latest/docs/user_guide/graph.html
Draft
The example draft to be added is as follows.
http://nbviewer.jupyter.org/github/komo-fr/networkx2bokeh_note/blob/master/notebooks/graph_example_hovering_node_attributes.ipynb
If there is not particularly big problem with this content, I will send a PR.
The text was updated successfully, but these errors were encountered: