Started new code for graphs that uses maps instead of graph_nodes.