# File lib/puppet/simple_graph.rb, line 435
435:     def write_to_graphic_file (fmt='png', dotfile='graph')
436:       src = dotfile + '.dot'
437:       dot = dotfile + '.' + fmt
438: 
439:       File.open(src, 'w') {|f| f << self.to_dot << "\n"}
440: 
441:       system( "dot -T#{fmt} #{src} -o #{dot}" )
442:       dot
443:     end