7 Jul
2014
7 Jul
'14
7:56 a.m.
On 07/07/2014 09:32 AM, Flavien Lambert wrote:
Thanks a lot! To be sure to understand, in the XML file, a property must be defined as a boolean on the nodes and set as either 0 or 1, right?
You can create a property map after the file is loaded, as explained here: http://graph-tool.skewed.de/static/doc/quickstart.html#property-maps For your purposes, also consider the find_vertex() function: http://graph-tool.skewed.de/static/doc/util.html#graph_tool.util.find_vertex Best, Tiago -- Tiago de Paula Peixoto <tiago@skewed.de>