Module: Rattler::Util::GraphViz

Defined in:
lib/rattler/util/graphviz.rb,
lib/rattler/util/graphviz/node_builder.rb,
lib/rattler/util/graphviz/digraph_builder.rb

Overview

The GraphViz provides utilities to build GraphViz objects representing trees of nodes.

Author:

  • Jason Arhart

Defined Under Namespace

Classes: DigraphBuilder, NodeBuilder

Class Method Summary collapse

Class Method Details

.digraph(root) ⇒ Object

Return a new GraphViz digraph object representing root.

Returns:

  • a new GraphViz digraph object representing root



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

def self.digraph(root)
  DigraphBuilder.digraph(root)
end