Project

graphvizml

0.0
Low commit activity in last 3 years
No release in over a year
Generates an SVG file from GraphViz using a GraphViz Markup Language file
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 0.6, >= 0.6.0
~> 1.2, >= 1.2.1
~> 0.9, >= 0.9.3
 Project Readme

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