Hi,
I am trying to read the graphml output of graph-tool's graphml using
networkx.
https://github.com/networkx/networkx/issues/843
Unfortunately this does not work with any of the vector_* type property maps
which graph-tool uses. Have you encountered this issue before?
It seems the right thing to do might be to extend your graphml to hold the
vector_* attributes as detailed:
http://graphml.graphdrawing.org/primer/graphml-primer.html#EXT
Is there some reason why it was done the way it is? How do you manage
read/writing graphml data to other tools?
In the meantime, it might be possible to hack some read support for
graph-tool's xml into networkx. To this end, could you please advise how to
parse the 'key1' data (should be two floats)
<node id="n1">
<data key="key0">6</data>
<data key="key1">0x1.5c71d0cb8d943p+3, 0x1.70db7f4083655p+3</data>
</node>
thanks
-
--
View this message in context:
http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/graph-tool-graphml-and-networkx-tp4024982.html
Sent from the Main discussion list for the graph-tool project mailing list
archive at Nabble.com.
_______________________________________________
graph-tool mailing list
[email protected]
http://lists.skewed.de/mailman/listinfo/graph-tool