Trait fera_graph::props::WithVertexIndexProp
source · 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
type VertexIndexProp: VertexPropGet<Self, usize>
Required Methods
sourcefn vertex_index(&self) -> VertexIndexProp<Self>
fn vertex_index(&self) -> VertexIndexProp<Self>
Creates an vertex index map.