Trait fera_graph::props::WithEdgeIndexProp
source · pub trait WithEdgeIndexProp: WithEdge {
type EdgeIndexProp: EdgePropGet<Self, usize>;
fn edge_index(&self) -> EdgeIndexProp<Self>;
}
Expand description
A graph that has a property that maps each edge to an integer in the range 0..num_edges
.
Required Associated Types
type EdgeIndexProp: EdgePropGet<Self, usize>
Required Methods
sourcefn edge_index(&self) -> EdgeIndexProp<Self>
fn edge_index(&self) -> EdgeIndexProp<Self>
Creates an edge index map.