add graph tool