Thanks, is it also possible to obtain the leaves of the resulting tree without traversing the whole tree?

Best regards,
Chris

Am 17.08.2015 um 15:27 schrieb Tiago de Paula Peixoto:
On 17.08.2015 10:40, Christopher Morris wrote:
Is it somehow possible to obtain a successor relation instead of a
predecessor relation?
You can convert the predecessor map into a tree using
predecessor_tree(), and then you can traverse it in any way you want:

    http://graph-tool.skewed.de/static/doc/generation.html#graph_tool.generation.predecessor_tree

Best,
Tiago




_______________________________________________
graph-tool mailing list
graph-tool@skewed.de
http://lists.skewed.de/mailman/listinfo/graph-tool