Yes, I used RTGraphBuilder, with RTMondrian that works.

Do you have one composite to assemble several RTMondrian objects ?
I have already check RTMultiCompositeShape and RTGroup.

Which should I use to compose ?

Thank you, 

Cheers,
Jonathan


2015-01-19 15:01 GMT+01:00 Alexandre Bergel <alexandre.bergel@me.com>:
Hi Jonathan,

Can you give more context? It is hard to understand what’s going on. 
I suspect you are using RTGraphBuilder. This is deprecated code, instead you should use RTMondrian.

For example:
-=-=-=-=-=-=-=-=-=-=-=-=
b := RTMondrian new.
b shape rectangle
if: [ :c | c inheritsFrom: RTShape ] fillColor: Color yellow.
b nodes: RTObject withAllSubclasses.
b edges connectFrom: #superclass.
b layout tree.
b
-=-=-=-=-=-=-=-=-=-=-=-=

Cheers,
Alexandre

On Jan 19, 2015, at 10:40 AM, Wadin Jonathan <wadin.jonathan@gmail.com> wrote:

Hi,

I have some problem to change the colors of the nodes when I use one condition. 

Per example : 

"b nodes 
if: [:c | self halt. c inheritsFrom: RTShape]; 
color: Color yellow."

I try to put one breakpoint on the condition but that don't execute my condition and also don't change color of nodes.


Thank you,

Cheers,

Jonathan.
_______________________________________________
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