Am 14.12.20 um 06:49 schrieb Lietz, Haiko:
Is there a better way?
Yes, take a look at the graph_union() function, with joins two graphs into one. If you pass it an 'intersection' parameter, it maps nodes of one graph into the other, which allows you to join only the edge lists.
I’m using gt 2.29 from conda-ostrokach.
Please upgrade! There has been up-to-date graph-tool packages in conda-forge for a while now.
Best, Tiago -- Tiago de Paula Peixoto <ti...@skewed.de>
OpenPGP_0x612DEFB798507F25.asc
Description: application/pgp-keys
OpenPGP_signature
Description: OpenPGP digital signature
_______________________________________________ graph-tool mailing list graph-tool@skewed.de https://lists.skewed.de/mailman/listinfo/graph-tool