add graph/2