PGFService.hs: fix type error caused by change to PGF.graphvizParseTree

Note that some of the graphviz functions have backwards incompatible changes
that might also affect other clients of the PGF run-time library.

Also added graphvizDefaults and export it together with GraphvizOptions from 
the PGF run-time library.
This commit is contained in:
hallgren
2012-11-22 15:27:16 +00:00
parent bac6b7fe64
commit db544b1cc9
3 changed files with 6 additions and 1 deletions

View File

@@ -338,7 +338,7 @@ outputGraphviz code =
_ -> "application/binary"
abstrTree pgf tree = PGF.graphvizAbstractTree pgf (True,True) tree
parseTree pgf lang tree = PGF.graphvizParseTree pgf lang tree
parseTree pgf lang tree = PGF.graphvizParseTree pgf lang PGF.graphvizDefaults tree
alignment pgf tree = PGF.graphvizAlignment pgf (PGF.languages pgf) tree
pipeIt2graphviz :: String -> String -> IO BS.ByteString