pub fn insert<P, G>(graph: &mut G, new_p: P) -> u32where
P: PointInterface,
G: GraphInterface<P>,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.