-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathxdot.cabal
57 lines (54 loc) · 2.07 KB
/
xdot.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
name: xdot
version: 0.3.0.3
license: BSD3
license-file: LICENSE
category: Graphs, Graphics
cabal-version: >= 1.18
build-type: Simple
author: Dennis Felsing <[email protected]>
maintainer: Dennis Felsing <[email protected]>
copyright: Dennis Felsing 2012-2019
synopsis: Parse Graphviz xdot files and interactively view them using GTK and Cairo
description: Parse Graphviz xdot files and interactively view them using
GTK and Cairo.
.
Currently not all xdot features are supported. Nodes and
edges can be highlighted by hovering them and clicked.
.
For an example of using this library try the accompanying
@Demo.hs@ with the dot-files in @dot-examples/@.
.
This library was originally written as part of ghc-vis, but
is now a separate project, in case anyone else may have a
use for it.
tested-with: GHC == 8.0.2 || == 8.2.2 || == 8.4.4 || == 8.6.5
Extra-source-files: dot-examples/*.dot
Library
Exposed-modules: Graphics.XDot.Parser Graphics.XDot.Viewer Graphics.XDot.Types
Default-Language: Haskell2010
Build-depends: base >= 4.9.1 && < 4.15,
mtl >= 2.0,
cairo >= 0.12,
gtk3 >= 0.12,
graphviz >= 2999.16,
text >= 0.11,
polyparse >= 1.8,
deepseq >= 1.2
Hs-source-dirs: src/
Ghc-options: -Wall -fno-warn-unused-do-bind
Executable xdot-demo
Default-Language: Haskell2010
Ghc-options: -Wall -fno-warn-unused-do-bind
Main-Is: Demo.hs
Build-depends: base,
cairo,
graphviz,
gtk3,
text,
transformers,
deepseq,
-- ourselves
xdot
source-repository head
type: git
location: https://github.com/def-/xdot.git