Class: GraphViz::XML

Inherits:
Object show all
Defined in:
lib/graphviz/xml.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#graphObject

The GraphViz object



24
25
26
# File 'lib/graphviz/xml.rb', line 24

def graph
  @graph
end

Instance Method Details

#output(*options) ⇒ Object

Generate the graph

THIS METHOD IS DEPRECATED, PLEASE USE GraphViz::XML.graph.output



31
32
33
34
# File 'lib/graphviz/xml.rb', line 31

def output( *options )
  warn "GraphViz::XML.output is deprecated, use GraphViz::XML.graph.output"
  @graph.output( *options )
end