# File lib/puppet/external/dot.rb, line 264
264:         def to_s (t = '')
265:             hdr = t + "#{@dot_string} #{@name} {\n"
266: 
267:             options = @options.to_a.collect{ |name, val|
268:                 val && name != 'label' ?
269:                     t + $tab + "#{name} = #{val}" :
270:                     name ? t + $tab + "#{name} = \"#{val}\"" : nil
271:             }.compact.join( "\n" ) + "\n"
272: 
273:             nodes = @nodes.collect{ |i|
274:                 i.to_s( t + $tab )
275:             }.join( "\n" ) + "\n"
276:             hdr + options + nodes + t + "}\n"
277:         end