adds haskell graph stuff