thanks doru, but I am afraid I did not get it :-(
An edge goes from aNode to anotherNode, what do you mean by "behind the edge"
Behind each edge, there will be one class. If a class invokes multiple classes, the same class will be behind each of the corresponding edges.
this seems to be refering to the source of the edge, so why do you also need to put it "behind"?
nicolas
----- Mail original -----
De: "Tudor Girba" tudor.girba@gmail.com À: "Moose-related development" moose-dev@iam.unibe.ch Envoyé: Vendredi 18 Février 2011 10:48:30 Objet: [Moose-dev] Re: MOViewRendered>>edges:from:toAll: ??? The first argument provides the model behind the edge.
For example:
view nodes: classes. view edges: classes from: [:each | each ] toAll: [:each | each invokedClasses].
Behind each edge, there will be one class. If a class invokes multiple classes, the same class will be behind each of the corresponding edges.
Cheers, Doru
On 18 Feb 2011, at 10:45, Nicolas Anquetil wrote:
What is the purpose of the first argument of this method?
MOViewRendered>> edges: aCollection from: aFromBlock toAll: aToBlock "aToBlock should return a collection, edges will be drawn from the element returned by aFromBlock to this collection"
^self edges: aCollection from: aFromBlock toAll: aToBlock using: self edgeShape
nicolas _______________________________________________ Moose-dev mailing list Moose-dev@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@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev