old-graph: Add the old graph implementation