packages feed

flow2dot 0.9.1 → 0.9.2

raw patch · 2 files changed

+20/−26 lines, 2 filesdep ~dotgenPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: dotgen

API changes (from Hackage documentation)

Files

README.md view
@@ -1,25 +1,27 @@-This is a tool to generate nice sequence (flow) diagrams from+Flow2dot+========+`flow2dot` is a tool to generate nice sequence (flow) diagrams from textual descriptions, written in Haskell. -This tool generates a diagram _description_, which could be made into-a nice picture with help of Graphviz (www.graphviz.org)+Tool itself generates a diagram _description_, which could be fed into [GraphViz](www.graphviz.org)+to get a nice-looking picture.  To try it out, run:+```   runhaskell flow2dot.hs sample.flow | dot -T png -o sample.png-and view "sample.png" with your favorite picture viewer. If you-dont get a nice picture and get something else (for example, ugly-segfault from dot), try upgrading to latest Graphviz (2.12 or later)+```+and view "sample.png" with your favorite picture viewer. Make sure +version of `dot` is at least 2.12. -If you want to use national alphabets, make sure that your .flow files-are encoded in UTF-8. If you want to tweak the output - read Dot manual+If you want to tweak the output - read Dot manual and use it for scaling, colors, pagination etc. -Latest version could be obtained via:-  darcs pull http://adept.linux.kiev.ua:8080/repos/flow2dot/--License     :  BSD-style (see the file LICENSE)-Send patches to dastapov@gmail.com (using "darcs send")+Sample output+============+![sample.png](sample.png) +Acknowledgements+================ Thanks to Cale, quicksilver and roconnor from #haskell for suggestions on how to modularize this. Thanks to Dema from haskell@conference.jabber.ru for win32 testing. Gwern0 helped@@ -31,11 +33,3 @@ ============  * Dot < 2.12 will most likely segfault on files generated by flow2dot--* If your version of dot complains about "Error: lost n1 n2 edge", try using-flow2dot-fix-dot-lost-edges in place of dot:--   runhaskell flow2dot your.flow | flow2dot-fix-dot-lost-edges -T png -o your.png--Trick is to remove 'constraint="false"' from all edges that dot reports as lost.-
flow2dot.cabal view
@@ -4,10 +4,10 @@ -- -- see: https://github.com/sol/hpack ----- hash: 53fe3a5ecd77c08ff5a698606e70baced2b51cb4a2868c18fa8d092a9e48b557+-- hash: d4dba45b63ea7cc02be0cec1e829ab01a21c9438acc2243ed2e01a4ccc6fb201  name:           flow2dot-version:        0.9.1+version:        0.9.2 synopsis:       Library and binary to generate sequence/flow diagrams from plain text source description:    Generates sequence diagrams from textual descriptions with help of Graphviz graph drawing tool. category:       Tool, Console@@ -40,7 +40,7 @@   build-depends:       base >=3 && <=5     , containers-    , dotgen+    , dotgen >=0.4.3     , mtl >=1.0     , parsec   default-language: Haskell2010@@ -55,7 +55,7 @@   build-depends:       base >=3 && <=5     , containers-    , dotgen+    , dotgen >=0.4.3     , flow2dot     , mtl >=1.0     , parsec@@ -72,7 +72,7 @@       QuickCheck     , base >=3 && <=5     , containers-    , dotgen+    , dotgen >=0.4.3     , flow2dot     , mtl >=1.0     , parsec