[][src]Function petgraph::graph::node_index

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

Short version of NodeIndex::new