Class: GraphViz::XML

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

Instance Method Summary collapse

Instance Method Details

#output(*hOpt) ⇒ Object

Generate the graph

Options :

  • :output : Output format (Constants::FORMATS)

  • :file : Output file name

  • :use : Program to use (Constants::PROGRAMS)

  • :path : Program PATH

  • :<format> => <file> : <file> can be

    • a file name

    • nil, then the output will be printed to STDOUT

    • String, then the output will be returned as a String

  • :errors : DOT error level (default 1)

    • 0 = Error + Warning

    • 1 = Error

    • 2 = none



46
47
48
# File 'lib/graphviz/xml.rb', line 46

def output( *hOpt )
  @oGraph.output( *hOpt )
end