I’m trying to import R igraph networks into another format so I can load them into another software package (ORA) that will let me consider dynamic networks. I have had some difficulties.
I compared some example .graphml files provided with ORA with the .graphml created from igraph with
write_graph(), and noted that in the ORA files an edge will have an id:
</edge> <edge id="e1" source="n0" target="n1"> <data key="d1">1.0</data> </edge>
However, the .graphml from igraph omits content such as the
I don’t know if this is the source of my importing problems, but it might be a non-standard feature. Does anyone have suggestions of how to modify a graph to fix this? My experimentation so far (e.g setting
E(g)$id <- E(g)) has just added to the content between
</data>, so I may not be using the correct attribute name.