[Moose-dev] Re: Help needed with class hierarchy visualization

Alexandre Bergel alexandre at bergel.eu
Fri Oct 30 13:51:00 MET 2009


I imported a Monticello Package, apparently this does not fill  
invokedClasses. However with importing ST Package works better.

I will fix the importer.

Alexandre


On 30 Oct 2009, at 09:41, Tudor Girba wrote:

> No, it's not normal.
>
> Did you run the visualization on all classes? There will be no edges  
> if you do not show both the source and the target.
>
> Cheers,
> Doru
>
>
> On 30 Oct 2009, at 13:39, Alexandre Bergel wrote:
>
>> I like your script. But when I import Smalltalk code,  
>> invokedClasses remains empty. Is this normal?
>>
>> Alexandre
>>
>>
>> On 30 Oct 2009, at 09:31, Simon Denier wrote:
>>
>>>
>>> On 30 oct. 2009, at 11:21, Tudor Girba wrote:
>>>
>>>> Yes, you can :).
>>>>
>>>> It would be helpful to start by sending to the list the script  
>>>> that you tried to create and then we go from there.
>>>
>>> As a starter, you can try the following script in a MOEasel
>>>
>>> view nodes: classGroup.
>>> view edgeShape: MOOrthoVerticalLineShape new.
>>> view edgesFrom: #superclass.
>>> view treeLayout.
>>> view edges: classGroup from: #yourself toAll: #invokedClasses  
>>> using: (MOCurveFitterShape new color: Color red).
>>>
>>>
>>> It needs much polishing to make it more readable/usable though  
>>> (beginning with filtering the invokedClasses like you want)
>>>
>>>
>>>>
>>>> Are you using VW or Pharo?
>>>>
>>>> Cheers,
>>>> Doru
>>>>
>>>>
>>>> On 30 Oct 2009, at 11:05, Usman Bhatti wrote:
>>>>
>>>>> Hi all,
>>>>>
>>>>> I am looking to visualize my class hierarchy in moose in such a  
>>>>> way that the method calls within classes is overlapped over the  
>>>>> class hierarchy visualization.
>>>>>
>>>>> In addition to this, I am looking to filter the visualization  
>>>>> results by specifying invoked methods so that my visualization  
>>>>> does not get cluttered with all the method calls within the  
>>>>> class hierarchy. Can I generate such a visualization with Moose?
>>>>>
>>>>> regards,
>>>>>
>>>>> Usman
>>>>> _______________________________________________
>>>>> Moose-dev mailing list
>>>>> Moose-dev at iam.unibe.ch
>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>>
>>>> --
>>>> www.tudorgirba.com
>>>>
>>>> "Be rather willing to give than demanding to get."
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Moose-dev mailing list
>>>> Moose-dev at iam.unibe.ch
>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>
>>> --
>>> Simon
>>>
>>>
>>>
>>> _______________________________________________
>>> Moose-dev mailing list
>>> Moose-dev at iam.unibe.ch
>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>> -- 
>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> Alexandre Bergel  http://www.bergel.eu
>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>
>>
>>
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>> Moose-dev at iam.unibe.ch
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> --
> www.tudorgirba.com
>
> "Speaking louder won't make the point worthier."
>
> _______________________________________________
> Moose-dev mailing list
> Moose-dev at iam.unibe.ch
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.







More information about the Moose-dev mailing list