-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Library and binary to generate sequence/flow diagrams from plain text source -- -- Generates sequence diagrams from textual descriptions with help of -- Graphviz graph drawing tool. Check out -- http://adept.linux.kiev.ua:8080/repos/flow2dot/sample.flow -- (source) and -- http://adept.linux.kiev.ua:8080/repos/flow2dot/sample.png -- (output). @package flow2dot @version 0.5 -- | Converts flow diagrams to the Graphviz (Dot) files for subsequent -- rendering into nice pictures. module Text.FlowDiagram -- | flow2dot take a list of flow diagram items (Flow) and -- converts them to Graphviz code flow2dot :: [Flow] -> String -- | Parse given string and return Flow Diagram contained therein. All -- syntax errors are thrown via error parseFlow :: String -> String -> [Flow] -- | Parse specified file and return Flow Diagram contained therein. All -- syntax errors are thrown via error parseFlowFromFile :: FilePath -> IO [Flow] -- | Print element of the flow diagram as String showFlow :: Flow -> String -- | Flow could include messages and actions, one item per source line data Flow -- | Message (from, to, message text). Syntax in the source file: from -- -> to: message text Msg :: String -> String -> String -> Flow -- | Action (actor, message text). Syntax in the source file: actor: -- message text Action :: String -> String -> Flow instance Eq Flow instance Show Flow instance Arbitrary Flow instance Arbitrary Message instance Arbitrary Name