Skip to content

Instantly share code, notes, and snippets.

@glejeune
Created July 27, 2010 08:05
Show Gist options
  • Save glejeune/491924 to your computer and use it in GitHub Desktop.
Save glejeune/491924 to your computer and use it in GitHub Desktop.
IoGraphViz
gv := IoGraphViz clone with("G")
hello := gv addNode("hello", nil)
world := gv addNode("world", nil)
gv addEdge(hello, world)
options := Map clone do(
atPut("output", "png")
atPut("file", "sample1.png")
)
gv output(options)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment