Splitting out graph into {graph, node, edge} for readability.