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 edgeShapenicolas _______________________________________________ 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."