Class GraphViz::XML
In: lib/graphviz/xml.rb
Parent: Object

Methods

new   output  

Public Class methods

Create a graph from a XML file

In:

  • xFile : XML File
  • *hOpt : Graph options

Public Instance methods

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
  • :errors : DOT error level (default 1)
    • 0 = Error + Warning
    • 1 = Error
    • 2 = none

[Validate]