From: Tobias Reif Date: 2001-11-01T01:19:05+09:00 Subject: [ruby-talk:23976] Re: Creating charts from Ruby Robert Feldt wrote: > On Thu, 1 Nov 2001, Tobias Reif wrote: >>http://webdot.graphviz.org/webdot/demo.html > A bit ironic since I'm the author of a Ruby Dot binding. Check out graphr > in Raa. And no C knowledge needed, I simply generate a text file that dot > can understand. O.K. great. (sorry, I forgot.) Can your tool be used to generate SVg charts like http://webdot.graphviz.org/cgi-bin/webdot/webdot/graphs/directed/unix.dot.dot.svg http://webdot.graphviz.org/cgi-bin/webdot/webdot/graphs/directed/shells.dot.dot.svg http://webdot.graphviz.org/cgi-bin/webdot/webdot/graphs/directed/triedds.dot.dot.svg , directly from Ruby, in a simple way? I'd like to be able to (serversidedly) write something like --- require 'RubyDot' rdot = RubyDot.new out = rdot.graph {'dad' => 'girl', 'dad' => 'boy', 'grandma' => 'dad'}, 'svg' print out --- I mean, it's kinda tedious to generate the dot file, then syscall Dot to generate the graphic. Tobi -- Tobias Reif http://www.pinkjuice.com/myDigitalProfile.xhtml go_to('www.ruby-lang.org').get(ruby).play.create.have_fun http://www.pinkjuice.com/ruby/