Hi,
You get an error because the code I sent was for the Pharo version.
Here is the VW correspondent:
| inh |
view nodes: classGroup.
view newShape angledLine; lineColor: Color gray.
inh := view edgesFrom: #superclass.
view treeLayout userDefinedEdges: inh.
view newShape curvedLine; lineColor: Color red.
view edges: classGroup from: #yourself toAll: #invokedClasses
Cheers,
Doru
On 3 Nov 2009, at 13:12, Usman Bhatti wrote:
> Thanx a lot for the quick help. I got stuck with the installation of
> VW and Moose on my new machine.
> I've got moose from this site:
>
http://moose.unibe.ch/download/vw
>
> I am running the script provided by Doru with MOOSE.
> | inh |
> view nodes: classGroup.
> view edgeShape: MOOrthoVerticalLineShape new.
> inh := view edgesFrom: #superclass.
> view treeLayout userDefinedEdges: inh.
> view edges: classGroup from: #yourself toAll: #invokedClasses using:
> (MOCurveFitterShape new color: Color red).
>
> However, when I try to run the script on the LAN sample classes,
> Easel is having difficulty in understanding these two constructs...
> MOOrthoVerticalLineShape and MOCurveFitterShape...
>
> I would like to mention here that I was having difficulty in
> downloading VW so I downloaded Virtual machine and Required
> components from this site:
>
http://www.cincomsmalltalk.com/scripts/DownloadFiles.ssp
>
> I'm surely missing something here but cannot figure it out.
> And I am sure you people can help :-)
>
>
>
>
> On Fri, Oct 30, 2009 at 5:42 PM, <moose-dev-request(a)iam.unibe.ch>
> wrote:
> Send Moose-dev mailing list submissions to
> moose-dev(a)iam.unibe.ch
>
> To subscribe or unsubscribe via the World Wide Web, visit
>
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
> or, via email, send a message with subject or body 'help' to
> moose-dev-request(a)iam.unibe.ch
>
> You can reach the person managing the list at
> moose-dev-owner(a)iam.unibe.ch
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Moose-dev digest..."
>
>
> Today's Topics:
>
> 1. Help needed with class hierarchy visualization (Usman Bhatti)
> 2. Re: Help needed with class hierarchy visualization (Tudor Girba)
> 3. Re: glamour day - november 6 (Simon Denier)
> 4. Re: Help needed with class hierarchy visualization (Simon Denier)
> 5. Re: Help needed with class hierarchy visualization
> (Alexandre Bergel)
> 6. Re: Help needed with class hierarchy visualization (Tudor Girba)
> 7. Re: Help needed with class hierarchy visualization (Tudor Girba)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 30 Oct 2009 15:05:17 +0500
> From: Usman Bhatti <usman.bhatti(a)gmail.com>
> Subject: [Moose-dev] Help needed with class hierarchy visualization
> To: moose-dev(a)iam.unibe.ch
> Message-ID:
> <716651510910300305x1db798b9p23634f3244b6a7d5(a)mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> 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
>