outline of graph class