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

Simon Denier Simon.Denier at inria.fr
Fri Oct 30 13:31:00 MET 2009


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





More information about the Moose-dev mailing list