Am 04.03.20 um 06:03 schrieb sam:
> If I create a graph g1 and give each vertex a name, and then run
> 
> g2 = extract_largest_component(g1)
> 
> Are the names in g2 the same?
> 
> It seems that it is the case based on testing with toy examples, but I am
> not sure.

The returned graph is just a filtered version of the original one, so
every property map is compatible.

If the 'prune=True' option is given, this is no longer true, as a new
graph is returned. In this case, internal property maps are copied, but
other property maps are no longer compatible.

-- 
Tiago de Paula Peixoto <[email protected]>
_______________________________________________
graph-tool mailing list
[email protected]
https://lists.skewed.de/mailman/listinfo/graph-tool

Reply via email to