dataflow 0.1.0.1 → 0.2.0.0
raw patch · 3 files changed
+3/−3 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
- DataFlow.Core: Client :: ID -> Name -> Object
+ DataFlow.Core: External :: ID -> Name -> Object
Files
- dataflow.cabal +1/−1
- src/DataFlow/Core.hs +1/−1
- src/DataFlow/DFD.hs +1/−1
dataflow.cabal view
@@ -1,5 +1,5 @@ name: dataflow-version: 0.1.0.1+version: 0.2.0.0 synopsis: Generate Graphviz documents from a Haskell representation. description: Outputs .dot files that can be processed by the dot command. Currently it only supports the DFD format.
src/DataFlow/Core.hs view
@@ -12,7 +12,7 @@ data Diagram = Diagram Name [Object] -- | An object in a diagram.-data Object = Client ID Name+data Object = External ID Name | TrustBoundary ID Name [Object] | Process ID Name | Database ID Name
src/DataFlow/DFD.hs view
@@ -9,7 +9,7 @@ dfd :: t -> Gen () instance DFD Object where- dfd (Client id' name) = objectWith brackets id' $ do+ dfd (External id' name) = objectWith brackets id' $ do write "shape = square;" write "style = bold;" label $ bold $ write name