dotgen 0.4 → 0.4.1
raw patch · 2 files changed
+18/−8 lines, 2 filesPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
API changes (from Hackage documentation)
- Text.Dot: netlistGraph :: (Ord a) => (b -> [(String, String)]) -> (b -> [a]) -> [(a, b)] -> Dot ()
+ Text.Dot: netlistGraph :: Ord a => (b -> [(String, String)]) -> (b -> [a]) -> [(a, b)] -> Dot ()
Files
- Text/Dot.hs +1/−1
- dotgen.cabal +17/−7
Text/Dot.hs view
@@ -85,7 +85,7 @@ -- | 'edge' generates an edge between two 'NodeId's, with optional node sub-labels, and attributes. edge' :: NodeId -> Maybe String -> NodeId -> Maybe String -> [(String,String)] -> Dot ()-edge' from optF to optT attrs = Dot (\ uq -> ( [ GraphEdge' from optF to optF attrs ],uq,()))+edge' from optF to optT attrs = Dot (\ uq -> ( [ GraphEdge' from optF to optT attrs ],uq,())) -- | '.->.' generates an edge between two 'NodeId's. (.->.) from to = edge from to []
dotgen.cabal view
@@ -1,5 +1,5 @@ Name: dotgen-Version: 0.4+Version: 0.4.1 Synopsis: A simple interface for building .dot graph files. Description: This package provides a simple interface for building .dot graph files, for input into the dot and graphviz tools. @@ -9,15 +9,25 @@ License-file: LICENSE Author: Andy Gill Maintainer: Andy Gill <andygill@ku.edu>-Build-Depends: base >=3 && <5, containers-Exposed-Modules: Text.Dot Stability: alpha build-type: Simple+Cabal-Version: >= 1.6 +Flag devel+ Description: Enable full development tree+ Default: False++Library + Build-Depends: base >=3 && <5, containers+ Exposed-Modules: Text.Dot+ -- Trivial (build) test framework-Executable: dotgen-test-hs-source-dirs: test, .-Main-is: DotTest.hs-buildable: False+Executable dotgen-test+ if flag(devel)+ buildable: True+ else+ buildable: False+ hs-source-dirs: test, .+ Main-is: DotTest.hs