Skip to content

Generates a PNG file from GraphViz using a GraphViz Markup Language file

Notifications You must be signed in to change notification settings

jrobertson/graphvizml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Importing a raw document into GraphVizML

require 'graphvizml'

s = "
<?graphvizml?>

node
  label a1
  node
    label a2
"

gvml = GraphVizML.new(s)
File.write '/tmp/graph.svg', gvml.to_svg
`firefox /tmp/graph.svg`

Output:

!s

graphvizml graphviz

DATA

node label a1 node label a2

About

Generates a PNG file from GraphViz using a GraphViz Markup Language file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages