xdot library for Haskell