petgraph::graph

Function node_index

source
pub fn node_index<Ix: IndexType>(index: usize) -> NodeIndex<Ix>
Expand description

Short version of NodeIndex::new