add graph model