Ruby and dot

Hello,

Is there an “official” Ruby/dot package? I can’t find it in the RAA
and searching for “dot” on blade is pointless due to anti-spamming email
address spellings.

dot is part of AT&T’s open source graph drawing software which RDoc uses
to draw class diagrams (see http://www.research.att.com/sw/tools/graphviz/).

Thanks,

···


Bil Kleb
NASA Langley Research Center
Hampton, Virginia, USA

http://www.research.att.com/sw/tools/graphviz/).

You might look at the internals of rdoc… it uses
dot to draw class diagrams if you use the --diagram
option. I haven’t looked at it myself.

All I know.

Hal Fulton

···

----- Original Message -----
From: “Bil Kleb” W.L.Kleb@larc.nasa.gov
To: “ruby-talk ML” ruby-talk@ruby-lang.org
Sent: Monday, June 24, 2002 7:53 AM
Subject: Ruby and dot

Is there an “official” Ruby/dot package? I can’t find it in the RAA
and searching for “dot” on blade is pointless due to anti-spamming email
address spellings.

dot is part of AT&T’s open source graph drawing software which RDoc uses
to draw class diagrams (see

Look in the RAA for graphr by Robert Feldt, or if you have rapt
just type `rapt install graphr’ and get it installed.

Massimiliano

···

On Mon, Jun 24, 2002 at 09:53:21PM +0900, Bil Kleb wrote:

Is there an “official” Ruby/dot package? I can’t find it in the RAA
and searching for “dot” on blade is pointless due to anti-spamming email
address spellings.

Hey,

rdoc (http://rdoc.sourceforge.net) includes a dot.rb package which
allows you to construct a graph and then write the graph in dot format
out to file. I’ve used it and it’s quite easy to use. I’m not sure if
you can obtain it seperately from rdoc though.

Farrel Lifson

Bil Kleb wrote:

Is there an “official” Ruby/dot package?

What exactly are you looking for?

In a small example [1], I used Robert Feldt’s GraphR [2]; more links and
info on www.graphviz.org.

In many cases, you can simply generated dot files with Ruby.

Tobi

P.S.

… or with XSLT :slight_smile:
http://www.pinkjuice.com/SVG/links/

[1] http://www.pinkjuice.com/howto/RubySVG/examples.xhtml#examples_trees
[2] GraphR README

···


http://www.pinkjuice.com/

Farrel Lifson wrote:

I’m not sure if you can obtain it seperately from rdoc though.

That’s the crux of my question…

···


Bil

Tobias Reif wrote:

What exactly are you looking for?

GraphR is probably it…

Thanks,

···


Bil

Bil Kleb wrote:

GraphR is probably it…

It depends on what you’re doing, but in some cases it’s definitely
better to generate the dotfiles directly. You’ll have full controll and
all the features.

Tobi

···


http://www.pinkjuice.com/

“Bil Kleb” W.L.Kleb@larc.nasa.gov schrieb im Newsbeitrag news:3D1780EB.41CF4C20@LaRC.NASA.Gov

Tobias Reif wrote:

What exactly are you looking for?

GraphR is probably it…

Perhaps you might also have a look at RGL (Ruby Graph Library) which also uses dot.rb from rdoc to
draw graphs:

http://www.ruby-lang.org/en/raa-list.rhtml?name=RGL or
http://www.hduchene.de/ruby/rgl/doc/

Horst

for drawing/manipulating/plotting graph/images/diagram there is some
options at the RAA under Graphics.
However, (for some reason ?) Graphr and RGL is in RAA under Datastructure.

hth,
alia

Horst Duchene wrote:

···

“Bil Kleb” W.L.Kleb@larc.nasa.gov schrieb im Newsbeitrag news:3D1780EB.41CF4C20@LaRC.NASA.Gov

Tobias Reif wrote:

What exactly are you looking for?

GraphR is probably it…