Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
- type ID = String
- data Value
- type Attributes = Map String Value
- data Diagram = Diagram Attributes [RootNode] [Flow]
- data RootNode
- = Node Node
- | TrustBoundary ID Attributes [Node]
- data Flow = Flow ID ID Attributes
- data Node
Documentation
type Attributes = Map String Value Source
Attribute key-value pairs can be declared in diagrams, nodes, boundaries | and flows.
The top level diagram.
An root node in a diagram.
Node Node | A top level Node. |
TrustBoundary ID Attributes [Node] | Surrounds other non-root nodes, denoting a boundary. |
Describes the flow of data between two nodes.
InputOutput ID Attributes | |
Function ID Attributes | A "Function" in DFD. |
Database ID Attributes | A "Database" in DFD. |