[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

RGL: decorate nodes and edges

Javier_CH

3/29/2007 10:08:00 PM

Hi Guys

Did anyone of you work with RGL (Ruby Graph Library? Did you try to
decorate (e.g. color, shape, etc.) your nodes and edges? Were you
successful? Could anyone point me to a good documentation or to some
example code?

The whole problem is documented on my blog:

http://a-team.ch/news/2007/03/29/rgl-and-decorated-e...

Thanks for your help!

Saludos
Javier

4 Answers

Stephen Duncan Jr

3/30/2007 12:16:00 AM

0

Here's a link to what I posted to this list when this topic came up
recently: http://www.nabble.com/Re%3A-Graphs-with-decorated-edges-p92...

-Stephen

On 3/29/07, Javier_CH <vazqujav@gmail.com> wrote:
> Hi Guys
>
> Did anyone of you work with RGL (Ruby Graph Library? Did you try to
> decorate (e.g. color, shape, etc.) your nodes and edges? Were you
> successful? Could anyone point me to a good documentation or to some
> example code?
>
> The whole problem is documented on my blog:
>
> http://a-team.ch/news/2007/03/29/rgl-and-decorated-e...
>
> Thanks for your help!
>
> Saludos
> Javier
>
>
>


--
Stephen Duncan Jr
www.stephenduncanjr.com

Javier_CH

3/30/2007 8:57:00 AM

0

Thanks Stephen!

Just one question regarding your solution:

Are you still able to use all the nice GRATR features (e.g. Breadth
First Search) if you're storing your graph in a DOT::DOTDigraph?


Am 30.03.2007 um 02:15 schrieb Stephen Duncan:

> Here's a link to what I posted to this list when this topic came up
> recently: http://www.nabble.com/Re%3A-Graphs-with-decora...
> p9291712.html
>
> -Stephen
>
> On 3/29/07, Javier_CH <vazqujav@gmail.com> wrote:
>> Hi Guys
>>
>> Did anyone of you work with RGL (Ruby Graph Library? Did you try to
>> decorate (e.g. color, shape, etc.) your nodes and edges? Were you
>> successful? Could anyone point me to a good documentation or to some
>> example code?
>>
>> The whole problem is documented on my blog:
>>
>> http://a-team.ch/news/2007/03/29/rgl-and-decorated-e...
>>
>> Thanks for your help!
>>
>> Saludos
>> Javier
>>
>>
>>
>
>
> --
> Stephen Duncan Jr
> www.stephenduncanjr.com
>


Stephen Duncan Jr

3/30/2007 10:45:00 AM

0

Probably not; I wasn't trying to use any of those kinds of features,
which is why I skipped straight to using the DOT::Digraph. It may be
best for you to use the normal graph objects, then only when you wish
to output to a file, get the DOT::Digraph from them, and add in the
edge decorators at that point.

- Stephen

On 3/30/07, Javier Vázquez <vazqujav@gmail.com> wrote:
> Thanks Stephen!
>
> Just one question regarding your solution:
>
> Are you still able to use all the nice GRATR features (e.g. Breadth
> First Search) if you're storing your graph in a DOT::DOTDigraph?
>
>
> Am 30.03.2007 um 02:15 schrieb Stephen Duncan:
>
> > Here's a link to what I posted to this list when this topic came up
> > recently: http://www.nabble.com/Re%3A-Graphs-with-decora...
> > p9291712.html
> >
> > -Stephen
> >
> > On 3/29/07, Javier_CH <vazqujav@gmail.com> wrote:
> >> Hi Guys
> >>
> >> Did anyone of you work with RGL (Ruby Graph Library? Did you try to
> >> decorate (e.g. color, shape, etc.) your nodes and edges? Were you
> >> successful? Could anyone point me to a good documentation or to some
> >> example code?
> >>
> >> The whole problem is documented on my blog:
> >>
> >> http://a-team.ch/news/2007/03/29/rgl-and-decorated-e...
> >>
> >> Thanks for your help!
> >>
> >> Saludos
> >> Javier
> >>
> >>
> >>
> >
> >
> > --
> > Stephen Duncan Jr
> > www.stephenduncanjr.com
> >
>
>
>


--
Stephen Duncan Jr
www.stephenduncanjr.com

Javier_CH

3/30/2007 11:01:00 AM

0

Thanks again Stephen!

Could you (or someone) else point me to a nice how-to, documentation
or anything else (like example code)?

I'm a ruby-newbie and the project I'm working on has already a steep
learning-curve...besides having virtual no documentation. :)


Am 30.03.2007 um 12:44 schrieb Stephen Duncan:

> Probably not; I wasn't trying to use any of those kinds of features,
> which is why I skipped straight to using the DOT::Digraph. It may be
> best for you to use the normal graph objects, then only when you wish
> to output to a file, get the DOT::Digraph from them, and add in the
> edge decorators at that point.
>
> - Stephen
>
> On 3/30/07, Javier Vázquez <vazqujav@gmail.com> wrote:
>> Thanks Stephen!
>>
>> Just one question regarding your solution:
>>
>> Are you still able to use all the nice GRATR features (e.g. Breadth
>> First Search) if you're storing your graph in a DOT::DOTDigraph?
>>
>>