-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathgraphviz.cabal
216 lines (179 loc) · 7.52 KB
/
graphviz.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
Name: graphviz
Version: 2999.20.1.0
Stability: Beta
Synopsis: Bindings to Graphviz for graph visualisation.
Description: {
This library provides bindings for the Dot language used by the
Graphviz (<http://graphviz.org/>) suite of programs for visualising
graphs, as well as functions to call those programs.
.
Main features of the graphviz library include:
.
* Almost complete coverage of all Graphviz attributes and syntax.
.
* Support for specifying clusters.
.
* The ability to use a custom node type.
.
* Functions for running a Graphviz layout tool with all specified
output types.
.
* The ability to not only generate but also parse Dot code with two
options: strict and liberal (in terms of ordering of statements).
.
* Functions to convert FGL graphs and other graph-like data structures
to Dot code - including support to group them into clusters - with a
high degree of customisation by specifying which attributes to use
and limited support for the inverse operation.
.
* Round-trip support for passing an FGL graph through Graphviz to
augment node and edge labels with positional information, etc.
}
Homepage: https://github.com/ivan-m/graphviz
Category: Graphs, Graphics
License: BSD3
License-File: LICENSE.md
Copyright: Matthew Sackman, Ivan Lazar Miljenovic
Author: Matthew Sackman, Ivan Lazar Miljenovic
Maintainer: Ivan.Miljenovic@gmail.com
Build-Type: Simple
Tested-With: GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.2,
GHC == 8.0.1, GHC == 8.2.2, GHC == 8.4.2,
GHC == 8.6.2, GHC == 8.8.2, GHC == 8.10.1
Cabal-Version: 1.14
Extra-Source-Files: TODO.md
Changelog.md
README.md
FAQ.md
utils/AttributeGenerator.hs
Source-Repository head
Type: git
Location: https://github.com/ivan-m/graphviz.git
Flag test-parsing
Description: Build a utility to test parsing of available Dot code.
Default: False
Library {
Default-Language: Haskell2010
Build-Depends: base >=4.5.0.0 && <5,
containers,
process,
directory,
temporary >=1.1 && <1.4,
fgl >= 5.4 && < 5.8,
filepath,
polyparse >=1.9 && <1.14,
bytestring >= 0.9 && < 0.11,
colour == 2.3.*,
mtl == 2.*,
text,
wl-pprint-text == 1.2.*,
dlist >= 0.5 && < 1.1
Exposed-Modules: Data.GraphViz
Data.GraphViz.Types
Data.GraphViz.Types.Canonical
Data.GraphViz.Types.Generalised
Data.GraphViz.Types.Graph
Data.GraphViz.Types.Monadic
Data.GraphViz.Parsing
Data.GraphViz.Printing
Data.GraphViz.Commands
Data.GraphViz.Commands.IO
Data.GraphViz.Attributes
Data.GraphViz.Attributes.Complete
Data.GraphViz.Attributes.Colors
Data.GraphViz.Attributes.Colors.X11
Data.GraphViz.Attributes.Colors.Brewer
Data.GraphViz.Attributes.Colors.SVG
Data.GraphViz.Attributes.HTML
Data.GraphViz.PreProcessing
Data.GraphViz.Exception
Data.GraphViz.Algorithms
Data.GraphViz.Attributes.Internal
Data.GraphViz.Internal.Util
Data.GraphViz.Internal.State
Data.GraphViz.Types.Internal.Common
Other-Modules: Data.GraphViz.Algorithms.Clustering
Data.GraphViz.Attributes.Arrows
Data.GraphViz.Attributes.ColorScheme
Data.GraphViz.Attributes.Same
Data.GraphViz.Attributes.Values
Data.GraphViz.Commands.Available
Data.GraphViz.Types.State
if True
Ghc-Options: -Wall
if impl(ghc >= 6.12.1)
Ghc-Options: -fno-warn-unused-do-bind
}
Test-Suite graphviz-testsuite {
Default-Language: Haskell2010
Type: exitcode-stdio-1.0
-- Versions controlled by library section
Build-Depends: base,
graphviz,
containers,
fgl >= 5.5.0.0,
fgl-arbitrary == 0.2.*,
filepath,
hspec >= 2.1 && < 2.8,
text,
QuickCheck >= 2.3 && < 2.15
Build-Tool-Depends: hspec-discover:hspec-discover == 2.*
hs-Source-Dirs: tests
Main-Is: Main.hs
Other-Modules: Data.GraphViz.Testing.Instances
Data.GraphViz.Testing.Properties
Data.GraphViz.Testing.Instances.Helpers
Data.GraphViz.Testing.Instances.Attributes
Data.GraphViz.Testing.Instances.Common
Data.GraphViz.Testing.Instances.Canonical
Data.GraphViz.Testing.Instances.Generalised
Data.GraphViz.Testing.Instances.Graph
Data.GraphViz.Testing.Proxy
Data.GraphVizSpec
Data.GraphViz.AlgorithmsSpec
Data.GraphViz.Attributes.CompleteSpec
Data.GraphViz.Attributes.HTMLSpec
Data.GraphViz.PreProcessingSpec
Data.GraphViz.Types.CanonicalSpec
Data.GraphViz.Types.GeneralisedSpec
Data.GraphViz.Types.GraphSpec
Spec
if True
Ghc-Options: -Wall
if impl(ghc >= 6.12.1)
Ghc-Options: -fno-warn-unused-do-bind
GHC-Prof-Options: -rtsopts
}
Benchmark graphviz-printparse {
Default-Language: Haskell2010
Type: exitcode-stdio-1.0
Build-Depends: base,
deepseq,
text,
graphviz,
criterion >= 0.5 && < 1.6
hs-Source-Dirs: utils
Main-Is: Benchmark.hs
if True
Ghc-Options: -Wall
if impl(ghc >= 6.12.1)
Ghc-Options: -fno-warn-unused-do-bind
GHC-Prof-Options: -rtsopts
}
Executable graphviz-testparsing {
Default-Language: Haskell2010
if flag(test-parsing)
Buildable: True
else
Buildable: False
hs-Source-Dirs: utils
Main-Is: TestParsing.hs
Build-Depends: base,
graphviz,
bytestring,
directory,
filepath,
text
Ghc-Options: -Wall
GHC-Prof-Options: -rtsopts
}