graph to_node explanation