addaed graph to knowledgebase