#!/usr/bin/ruby $:.unshift( "../lib" ) require 'graphviz/xml' gvxml = GraphViz::XML::new( "test.xml", :text => true, :attrs => true ) gvxml.output( :output => "png", :file => "test.png", :use => "dot", :path => ARGV[0] )