add_nodes_to_graph function

Insert new nodes into a graph, breaking edges at point of nearest intersection.