scglue.graph.compose_multigraph

scglue.graph.compose_multigraph(*graphs)[source]

Compose multi-graph from multiple graphs with no edge collision

Parameters:

graphs (Graph) – An arbitrary number of graphs to be composed from

Return type:

MultiGraph

Returns:

composed – Composed multi-graph

Note

The resulting multi-graph would be directed if any of the input graphs is directed.