Project

pxgraphviz

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

Runtime

~> 0.7, >= 0.7.1
~> 1.4, >= 1.4.0
 Project Readme

Introducing the PxGraphViz gem

The PxGraphViz gem generates a GraphViz Markup Language file as can been seen in the example below.

require 'pxgraphviz'

s = "
<?polyrex schema='items/item[label, connection]' delimiter =' # '?>

hello
  world # link 1
    run # link 2
    walk # link 3
      fun # link 4
  fun # link 5
"


pxg = PxGraphViz.new(s)
doc = pxg.to_doc
File.write 'gvml.xml', doc.xml(pretty: true)

Resources

graphviz polyrex pxgraphviz gem