Type Definition Graph
graph_builder
type Graph<T, U> = (Vec<T>, Vec<([usize; 2], U)>);
A graph is a tuple of nodes and edges between nodes.