petgraph::graph

Type Alias DiGraph

source
pub type DiGraph<N, E, Ix = DefaultIx> = Graph<N, E, Directed, Ix>;
Expand description

A Graph with directed edges.

For example, an edge from 1 to 2 is distinct from an edge from 2 to 1.

Aliased Typeยง

struct DiGraph<N, E, Ix = DefaultIx> { /* private fields */ }