>> x = "hello\n\t\l\"world\""
>> puts x.inspect.gsub( "\\", "\" ) "hello\n\t\l\"world\""
OR
>> x = ‘hello\n\t\l"world"’
>> puts x.inspect.gsub( "\\", "\" ) "hello\n\t\l\"world\""
graph | -> | graph_attrs |
node | -> | node_attrs |
edge | -> | edge_attrs |
edge | [RW] | This accessor allow you to set global edges attributs |
graph | [RW] | This accessor allow you to set global graph attributs |
node | [RW] | This accessor allow you to set global nodes attributs |
Create a new graph object
Options :
Transform to pretty up the SVG output
For more information, see www.hokstad.com/making-graphviz-output-pretty-with-xsl.html and www.hokstad.com/making-graphviz-output-pretty-with-xsl-updated.html
You can use the :nothugly option to GraphViz#output :
graph.output( :svg => "myGraph.svg", :nothugly => true )
Or directly on an SVG output graph :
GraphViz.nothugly( "myGraph.svg" )
Calls block once for each attribut of the graph, passing the name and value to the block as a two-element array.