petgraph::matrix_graph

Function node_index

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

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