It is important to note however that in graph-tool regular float/double
properties (not vectors) are also stored in hex format. I'm not sure if
this is a violation of the standard, since I don't know if they specify
exactly how a float is represented, but this may cause problems with
interoperability as well (possibly networkx would also choke). I made
this choice because for my own uses, it is very important that no
information is lost during encoding.

I'm not sure if this discussion led anywhere. It seems that there is still a
compatibility issue with basic data types float and double to networkx. The
reason is that graph-tool uses hex-format as lexical representation.
However, XML standard defines decimal format for float
(http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#float) and double.
Maybe we can have a parameter in the save function to enable this standard.  



--
View this message in context: 
http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/graph-tool-graphml-and-networkx-tp4024982p4026236.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

Reply via email to