Safe Haskell | Safe-Infered |
---|
Converts flow diagrams to the Graphviz (Dot) files for subsequent rendering into nice pictures.
Documentation
parseFlow :: String -> String -> [Flow]Source
Parse given string and return Flow Diagram contained therein.
All syntax errors are thrown via error
parseFlowFromFile :: FilePath -> IO [Flow]Source
Parse specified file and return Flow Diagram contained therein.
All syntax errors are thrown via error
Flow could include messages and actions, one item per source line
Msg String String String | Message (from, to, message text). Syntax in the source file: |
Action String String | Action (actor, message text). Syntax in the source file: |
Order [String] | Tries to put swimlines in the specified order. Syntax: |