Page 1 of 1

Concatenating graphs

Posted: Fri Nov 19, 2004 2:11 pm
by Olivier Coulon
Hello there,
is there a straightforward way to concatenate two graphs ? I don't want to add any edge, I just want all the nodes to end up in a single graph and the existing edges to be maintained...

Thanks,

Olivier

Posted: Fri Nov 19, 2004 2:48 pm
by riviere
Yes, you can use Graph::extract()
(it will copy nodes, and relations between them)
Denis