Type Alias petgraph::stable_graph::StableDiGraph

source ·
pub type StableDiGraph<N, E, Ix = DefaultIx> = StableGraph<N, E, Directed, Ix>;
Expand description

A StableGraph with directed edges.

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

Aliased Type§

struct StableDiGraph<N, E, Ix = DefaultIx> {
    g: Graph<Option<N>, Option<E>, Directed, Ix>,
    node_count: usize,
    edge_count: usize,
    free_node: NodeIndex<Ix>,
    free_edge: EdgeIndex<Ix>,
}

Fields§

§g: Graph<Option<N>, Option<E>, Directed, Ix>§node_count: usize§edge_count: usize§free_node: NodeIndex<Ix>§free_edge: EdgeIndex<Ix>