insert

Function insert 

Source
pub fn insert<P, G>(graph: &mut G, new_p: P) -> u32
Expand description

Insert a new node into a Graph that implements the GraphInterface trait.

Internally, use graph.alloc() to allocate space in storage or memory and reconnect the edges.