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.
Thanks!
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.
Thanks!
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.