It works with the nodes. Something like that is ok/view := RTMondrianViewBuilder new.view shape shape: (RTBox new color: Color green) + (RTLabel new text: 'Label').view nodes: (1 to: 10).view openWe can have the composite shape. So I don't know if it is the RTArrow or RTLine which fails._______________________________________________On Wed, Apr 16, 2014 at 12:02 AM, Alexandre Bergel <alexandre.bergel@me.com> wrote:This is true that the composite shape does not work at all with the mondrian builder.
We will see how to fix this in the future…
Alexandre
> _______________________________________________
On Apr 15, 2014, at 7:58 AM, Leo Perard <leo.perard@gmail.com> wrote:
> Hi guys,
>
> I just saw with Usman when we tried to add a CompositeShape using the RTMondrianViewBuilder it is not working.
> Here the example :
>
>
> | view elements |
> view := RTMondrianViewBuilder new.
> elements := (1 to: 10).
> view nodes: elements.
> view shape shape: (RTLine new color: Color red) + RTArrow new.
> view edges: elements from: #yourself toAll: elements.
> view horizontalLineLayout.
> view
>
> If you comment "+ RTArrow new" everything is ok but with the CompositeShape it is not.
>
> Tanks.
>
> --
> Leo Perard
> 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
--Leo Perard
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev