[Graph, GrEdge, GrNode] add graph's Node and Edge class