I'm importing a .gml file into Gephi, that I build using the python module networkx. All of my node attributes and labels are imported as strings instead of floats, which is messing up several things (using node attributes for visuals, and accessing the list of nodes in the scripting console). Is there any way to import data the correct way? Will it change anything to import to Gephi as a different graph format? I'm doing this with an eye to programmatically drawing graphs in Gephi. Thanks!

有帮助吗?

解决方案

You should try including the ID as an attribute. Thats simpler way of solving this (I think).

Regards,

George G. Vega

(author of the R package "rgexf")

http://ggvega.com

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top