This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)


gives the reverse graph of the directed g.
  • The reverse graph has the same vertices as g and the reverse edges.
The reverse graph of a directed graph:
The reverse graph of a directed graph:
Click for copyable input
ReverseGraph does not affect undirected graphs:
ReverseGraph works with directed graphs:
Works with large graphs:
ReverseGraph has the same VertexList as the original graph:
ReverseGraph is equivalent to reversing edges:
The adjacency matrix of a reverse graph is the transpose of the matrix of the original graph:
New in 8