packages feed

xdot-0.3.0.3: xdot.cabal

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 <dennis@felsin9.de>
maintainer:         Dennis Felsing <dennis@felsin9.de>
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