# File lib/rgl/rdot.rb, line 411
411:     def to_s (leader = '', indent = '    ')
412:       stringified_options = @options.collect do |name, val|
413:         unless val.nil? then
414:           leader + indent + "#{quote_ID(name)} = #{quote_ID(val)}"
415:         end
416:       end.compact.join( ",\n" )
417: 
418:       f_s = @from || ''
419:       t_s = @to || ''
420:       if stringified_options.empty? then
421:         leader + quote_ID(f_s) + ' ' + edge_link + ' ' + quote_ID(t_s)
422:       else
423:         leader + quote_ID(f_s) + ' ' + edge_link + ' ' + quote_ID(t_s) + " [\n" +
424:           stringified_options + "\n" +
425:           leader + "]"
426:       end
427:     end