petgraph::matrix_graph

Function node_index

Source
pub fn node_index(ax: usize) -> NodeIndex
Expand description

Short version of NodeIndex::new (with Ix = DefaultIx)