graph.hs