pub trait WithVertexIndexProp: WithVertex {
    type VertexIndexProp: VertexPropGet<Self, usize>;

    fn vertex_index(&self) -> VertexIndexProp<Self>;
}
Expand description

A graph that has a property that maps each vertex to an integer in the range 0..num_vertices.

Required Associated Types

Required Methods

Creates an vertex index map.

Implementations on Foreign Types

Implementors