Discussion:
[igraph] igraph to graphml
Abraham Sofer
2018-02-28 12:43:01 UTC
Permalink
Hi,

I need to export a graphml from an igraph. I am using
write_graph(g, "ml", format = "graphml"). I am getting nodes that look like
this.

<node id="n23">
<data key="v_name">756736182</data>
<data key="v_address">1LpF993xEFMbwqCZj6w3LshSDwEd8K8ecF</data>
<data key="v_color">blue</data>
</node>
My vertex atributes are name, address and color. Is there a way to get
key="name" and not have the "v_" appended to each attribute?

Thanks!

Abraham

Loading...