yes i got the same too and it looks not usable :)Strange. I obtain a visualization that looks like this one:
<Screen Shot 2013-09-28 at 10.28.04 PM.png>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.
_______________________________________________AlexandreOn 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
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev