brandly/elm-dot-lang/1.1.4

NOTE: the latest version is 1.1.8

dot-lang Build Status

import DotLang

DotLang.fromString "graph { a -- b }"
-- => Ok (Dot Graph Nothing [EdgeStmtNode (NodeId (ID "a") Nothing) (EdgeNode (NodeId (ID "b") Nothing)) [] []])

development

$ npm install
$ npm test

the fuzz tests hang at times. to exclusively run unit tests on every save, do this:

$ npm test -- tests/Main.elm --watch