Remove old libgraph usage