adding graph
insert graph