Add base class GRAPH