Module rs_graph::adapters

source ·
Expand description

Graph adapters.

Graph adapters are small types wrapping another graph type. A graph adapter provides a modified view on the underlying graph. For instance, the ReverseDigraph adapter swaps the direction of each (directed) edge of a wrapped digraph.

Adapters do not copy the underlying graph, they just change the meaning of the methods.

Re-exports

Modules

Structs

  • A digraph wrapping an existing graph with edges in opposite directions.

Functions