Unique dependencies in dot graph (#713)

* Add dotgen to stack.yaml

* Generate strict dot graph (prune redundant connections)
This commit is contained in:
Basile Henry 2018-11-26 17:19:02 +01:00 committed by GitHub
parent 85ccf2ff0a
commit 65f5377f0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -300,7 +300,7 @@ command (Options {..}) = do
State.runStateT (Dhall.Import.loadWith expression) status
if dot
then putStr . Text.Dot.showDot $
then putStr . ("strict " <>) . Text.Dot.showDot $
Text.Dot.attribute ("rankdir", "LR") >> _dot
else render System.IO.stdout resolvedExpression

View File

@ -9,6 +9,7 @@ extra-deps:
- repline-0.2.0.0
- serialise-0.2.1.0
- neat-interpolation-0.3.2.4
- dotgen-0.4.2@sha256:309b7cc8a3593a8e48bee7b53020d5f72db156d58edf78a0214f58fbb84b292b
nix:
packages:
- ncurses