Oh, I missed this one :). So, now I can refactor the code that is still using 
the RTEdge class side methods :).

Great!

Thanks,
Doru


> On Feb 25, 2016, at 1:59 PM, Alexandre Bergel <alexandre.ber...@me.com> wrote:
> 
> Oh, but this has been in Roassal for many months (I have implemented since 
> right after ESUG). You need to use #source:connectFrom:toAll:
> 
> Here is an example that randomly generate a graph and render it using this 
> facility:
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> nbOfNodes := 40.
> nbOfRandomEdges := 40.
> 
> nodes := 1 to: nbOfNodes.
> edges := (1 to: nbOfRandomEdges) 
>                               collect: [ :notUsed | nodes atRandom -> {nodes 
> atRandom . nodes atRandom} ].
> 
> b := RTMondrian new.
> 
> b shape circle color: (Color black alpha: 0.5).
> b nodes: nodes.
> 
> b shape line color: (Color gray alpha: 0.3).
> b edges
>       source: edges connectFrom: #key toAll: #value.
> 
> b layout force.
> b
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> 
> <Screen Shot 2016-02-25 at 1.57.24 PM.png>
> 
> Cheers,
> Alexandre
> 
>> On Feb 25, 2016, at 1:37 PM, Tudor Girba <tu...@tudorgirba.com> wrote:
>> 
>> Hi,
>> 
>> We discussed this before. Try to draw a hierarchy using classes and 
>> inheritance objects (so, without using the class to superclass navigation). 
>> Something like this:
>> 
>> view := RTMondrian new.
>> view nodes: classes.
>> view edges objects: inheritances; connectFrom: #superclass to: #subclass.
>> view layout tree.
>> view 
>> 
>> It won’t work.
>> 
>> Cheers,
>> Doru
>> 
>> 
>>> On Feb 25, 2016, at 1:29 PM, Alexandre Bergel <alexandre.ber...@me.com> 
>>> wrote:
>>> 
>>> Do you have an example? I am not sure to understand. 
>>> 
>>> Alexandre
>>> 
>>> 
>>>> On Feb 25, 2016, at 12:40 PM, Tudor Girba <tu...@tudorgirba.com> wrote:
>>>> 
>>>> This is very cool. We will all benefit from this documentation.
>>>> 
>>>> One thing that I would still like to see fixed before the release is the 
>>>> edge building (this problem of not being able to properly specify random 
>>>> objects to be taken into account when building edges). Could we work on 
>>>> that?
>>>> 
>>>> Cheers,
>>>> Doru
>>>> 
>>>> 
>>>>> On Feb 24, 2016, at 9:51 AM, Alexandre Bergel <alexandre.ber...@me.com> 
>>>>> wrote:
>>>>> 
>>>>> Dear community,
>>>>> 
>>>>> As you may have seen, Roassal has entered a stabilization phase. The book 
>>>>> AgileVisualization.com will soon be released. After its release, Roassal 
>>>>> will go over a new development phase. In order to prepare it, I am asking 
>>>>> this question:
>>>>> 
>>>>>   What are the 3 aspects you would like to see improved in Roassal?
>>>>> 
>>>>> You can answer publicly or by sending private messages.
>>>>> 
>>>>> Kind regards,
>>>>> Alexandre
>>>>> -- 
>>>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>>>> Alexandre Bergel  http://www.bergel.eu
>>>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>>> 
>>>>> 
>>>>> 
>>>>> _______________________________________________
>>>>> Moose-dev mailing list
>>>>> moose-...@list.inf.unibe.ch
>>>>> https://www.list.inf.unibe.ch/listinfo/moose-dev
>>>> 
>>>> --
>>>> www.tudorgirba.com
>>>> www.feenk.com 
>>>> 
>>>> “Live like you mean it."
>>>> 
>>>> 
>>> 
>>> -- 
>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>> Alexandre Bergel  http://www.bergel.eu
>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> Moose-dev mailing list
>>> moose-...@list.inf.unibe.ch
>>> https://www.list.inf.unibe.ch/listinfo/moose-dev
>> 
>> --
>> www.tudorgirba.com
>> www.feenk.com
>> 
>> "Value is always contextual."
>> 
>> 
>> 
>> 
>> 
> 
> -- 
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> 
> 
> 
> _______________________________________________
> Moose-dev mailing list
> moose-...@list.inf.unibe.ch
> https://www.list.inf.unibe.ch/listinfo/moose-dev

--
www.tudorgirba.com
www.feenk.com

"Next time you see your life passing by, say 'hi' and get to know her."





Reply via email to