Module 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§

pub use self::network::Network;
pub use self::network::NetworkEdge;

Modules§

network
A network graph adaptor.

Structs§

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

Functions§

reverse