Source. [ec9fd8cad654605b]

import ReductionGraphs

dia = frame 0.3 . hsep 2 $
  [ drawGraph (text . show) exampleGraph1
  , drawGraph (text . (:[])) exampleGraph2
  ]