Function petgraph::matrix_graph::node_index[][src]

pub fn node_index(ax: usize) -> NodeIndex

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