predecessor_tree

predecessor_tree#

graph_tool.generation.predecessor_tree(g, pred_map)[source]#

Return a graph from a list of predecessors given by the pred_map vertex property.