igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[igraph] igraph to graphml


From: Abraham Sofer
Subject: [igraph] igraph to graphml
Date: Wed, 28 Feb 2018 12:43:01 +0000

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]