On 04.07.2017 20:50, bsdz wrote: > Is there any recommended way to do this?
There is no special function to achieve this; you have to implement it using the basic API. But it is simple: just extract the list of edges in the subgraph, construct a vertex-to-vertex mapping that amounts to your "pasting", translate the edge endpoints accordingly, and add the translated edges to your graph. -- Tiago de Paula Peixoto <[email protected]> _______________________________________________ graph-tool mailing list [email protected] https://lists.skewed.de/mailman/listinfo/graph-tool
