petgraph::graph

Function edge_index

Source
pub fn edge_index<Ix: IndexType>(index: usize) -> EdgeIndex<Ix>
Expand description

Short version of EdgeIndex::new