On 12/21/2006 01:50 PM, Jens Müller wrote:
Where are your edge ids? You need them, just like for the nodes...
Do I?
http://graphml.graphdrawing.org/primer/graphml-primer.html#GraphEdge
"Optionally an identifier for the edge can be specified with the XML Attribute id. The id XML-Attribute is used, when it is necessary to reference the edge."
Yes, I saw it too (see my other message). I'll fix this later today, and put it in svn. Meanwhile you can just set some indexes to your edges, and everything should work.
I just found those edge_id_t and vertex_id_t tag in graph.cpp, I will add them soon ...
Maybe/Probably this is a problem, but I can't understand yet how that will lead to the strange error message ...
The problem is that the m_active_descriptor is set to the id of the edge (which is empty) and later the code thinks that such descriptor means that the property belongs to the graph, and tries to set the graph_property.
Do I have to supply "edge_id" and "vertex_id" as a dynamic property?
No. Those ids are only used to parse/write the graph, and don't belong to the actually read/written graph.
Thanks for your help, and Merry Chrismas!
Likewise! And thanks for the bug report. -- Tiago de Paula Peixoto <tiago@forked.de>