Type Alias Graph

Source
pub type Graph<T, U> = (Vec<T>, Vec<([usize; 2], U)>);
Expand description

A graph is a tuple of nodes and edges between nodes.