Add BasicGraph.