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 <[email protected]>

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
graph-tool mailing list
[email protected]
http://lists.skewed.de/mailman/listinfo/graph-tool

Reply via email to