8000 GitHub - csicar/purescript-graphviz at v1.1.1
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

csicar/purescript-graphviz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Purescript-Graphviz

renders Graphs defined in Data.DotLang to SVG, JSON and XDOT.

let g = DiGraph [
    node "a" [ Shape Diamond, Style Filled,  FillColor red ],
    node "b" [],
    "a" ==> "b",
    "a" ==> "d",
    Subgraph [
        node "d" []
    ]
]
let rendered = renderToSvg Dot g

rendered will be:

example image

About

graphviz renderer bindings for purescript using viz.js

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  
0