NetworkX

Previous topic

networkx.MultiDiGraph.subgraph

Next topic

Labeled Graph

Quick search

networkx.MultiDiGraph.reverse

MultiDiGraph.reverse(copy=True)

Return the reverse of the graph

The reverse is a graph with the same nodes and edges but with the directions of the edges reversed.