Just for general knowledge, in the context of ROMondrianViewBuilder>>addEdge:, what is the meaning of "frameOfElement" ?
I introduced the frames to delay the layout of the nodes until the end.
Before I introduced the frames, you needed to layout the nodes while you are building your visualization. However, it may happen that edges are added later on in a script.
Consider the example:
1 - view node: 'hello' forIt: [ 2 - view nodes: #(1 2). 3 - view treeLayout. 4 - ]. 5 - view edgeFromAssociation: 1 -> 2.
In Lines 2 and 3 you defines two nodes and layout them. But there is no edge defined yet. The edge between 1 and 2 is defined after you have set which layout you want to use. So the tree layout has to be delayed until the very hand.
The edge 1->2 is added to the frame that corresponds to the the nesting [ view nodes: #(1 2) ... ]
Does it make sense?
Cheers, Alexandre
On Sep 29, 2012, at 11:25 AM, Ben Coman btc@openInWorld.com wrote:
Just for general knowledge, in the context of ROMondrianViewBuilder>>addEdge:, what is the meaning of "frameOfElement" ? _______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev