-- 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.
@package flow2dot
@version 0.9.2
-- | 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 :: Swimline -> Swimline -> String -> Flow
-- | Action (actor, message text). Syntax in the source file: actor:
-- message text
Action :: Swimline -> String -> Flow
-- | Tries to put swimlines in the specified order. Syntax: order
-- swimline1 swimline2 ...
Order :: [Swimline] -> Flow
instance GHC.Show.Show Text.FlowDiagram.Flow
instance GHC.Classes.Eq Text.FlowDiagram.Flow