add interface definition for a Graph