import public Graphics.DOT.AST
import public Graphics.DOT.Utils
import public Graphics.DOT.Parser
import public Graphics.DOT.Interfacesdata DOTError : TypeThe types of errors that can occur when processing a DOT/.gv file, combined
with the respective error message.
FError : String -> DOTErrorAn error occurred when trying to read the file.
ParseError : String -> DOTErrorSomething's wrong with the structure of the DOT in the file.
Show DOTErrorreadDOTFile : HasIO io => String -> io (Either DOTError Graph)Given a file name, open it and lex and parse the DOT in it, returning the
`Graph` node which is the root of the AST.
@ fname the file name to read