Graphviz and Friends

Slide 6/16 -- First Previous Next Last
Write in the DASH language
And run the MarpaX::Demo::StringParser module

# render.pl ships with MarpaX::Demo::StringParser:
# render.pl -i in.dash -o out.svg
# A sample input file (actually data/graph.03.dash, which ships with the distro):

# Juxtapositioned edges (with and without commas). OK.
[node.1] {label: "n 1"}
-> {label: 'e 1'}
-> {label: e 2}
[] {label: n 2}
-> {label  :  e 3}
[node.3] {label: "n 3"}
-> {label: 'e 4'},
-> {label: e 5}
[] {label: n 2}
-> {label  :  e 6}