Strange. I obtain a visualization that looks like this one:


I have no error, except a warning saying that I should use atTypeScope instead of atClassScope.
By the way, I am not sure why we have changed atClassScope -> atTypeScope. Their names implies a different meaning. 

Alexandre


On Sep 28, 2013, at 12:53 PM, Stéphane Ducasse <stephane.ducasse@inria.fr> wrote:

Hi

I was following an exercise written by alex and the following code does not work



| superclassEdges |
luModel :=  (MooseModel allInstances last).
luClasses := luModel allModelClasses.
view shape rectangle size: [ :cls | cls queryAllOutgoingInvocations size ].
view nodes: luClasses.
superclassEdges := view edgesFrom: #superclass.
view treeLayout userDefinedEdges: superclassEdges.

view shape line color: Color red.
view edges: luClasses from: #yourself toAll:
[ :cls | cls queryAllOutgoingInvocations atClassScope ]


edgesFrom: raises an error several candidates.

and I do not understand why.

Stef
_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev

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