Holoviews: Access node attributes when using Graph.from_networkx() method

Created on 18 May 2018  路  3Comments  路  Source: holoviz/holoviews

It would be great to be able to access the node/edge attributes in a NetworkX graph when loading it into holoviews using the Graph.from_networkx() method. For example, I have an attribute representing which group a node belongs to, and I want to color the nodes in the network according to that attribute. I know that I can use bokeh to do this manually, but I'd much rather use holoviews to annotate my data and make this process much easier.

good first issue enhancement feature

Most helpful comment

Thanks for filing this issue. This was a definite oversight when writing the from_networkx method, and should be quite straightforward to implement.

All 3 comments

Thanks for filing this issue. This was a definite oversight when writing the from_networkx method, and should be quite straightforward to implement.

Now implemented and should land in the next release (1.10.5 due tomorrow).

Thank you!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ahuang11 picture ahuang11  路  3Comments

hojo0590 picture hojo0590  路  4Comments

bstadlbauer picture bstadlbauer  路  3Comments

obust picture obust  路  5Comments

ericmjl picture ericmjl  路  3Comments