Class: DOT::DOTDigraph

Inherits:
DOTSubgraph show all
Defined in:
lib/puppet/external/dot.rb

Overview

This is a graph.

Instance Attribute Summary

Attributes inherited from DOTElement

#name, #options

Attributes inherited from DOTSimpleElement

#name

Instance Method Summary collapse

Methods inherited from DOTSubgraph

#<<, #each_node, #pop, #push, #to_s

Methods inherited from DOTElement

#each_option, #each_option_pair

Methods inherited from DOTSimpleElement

#to_s

Constructor Details

#initialize(params = {}, option_list = GRAPH_OPTS) ⇒ DOTDigraph

Returns a new instance of DOTDigraph.



285
286
287
288
# File 'lib/puppet/external/dot.rb', line 285

def initialize (params = {}, option_list = GRAPH_OPTS)
  super(params, option_list)
  @dot_string = 'digraph'
end