Problem to change color of nodes.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem to change color of nodes.

Wadin Jonathan
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
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Problem to change color of nodes.

abergel
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 <[hidden email]> 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
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev

-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Problem to change color of nodes.

Wadin Jonathan
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 <[hidden email]>:
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 <[hidden email]> 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
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev

-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev



_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Problem to change color of nodes.

abergel
I am not sure what you want to compose.
Two visualizations? Yes you can use RTComposer.

Your question was an excellent opportunity for me to begin a chapter on visualization composition. Here it is:

https://dl.dropboxusercontent.com/u/31543901/AgileVisualization/BuilderComposition/0207-BuilderComposition.html

Cheers,
Alexandre



> On Jan 19, 2015, at 11:32 AM, Wadin Jonathan <[hidden email]> wrote:
>
> 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 <[hidden email]>:
> 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
> -=-=-=-=-=-=-=-=-=-=-=-=
> <Screen Shot 2015-01-19 at 11.01.17 AM.png>
>
> Cheers,
> Alexandre
>
>> On Jan 19, 2015, at 10:40 AM, Wadin Jonathan <[hidden email]> 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
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Problem to change color of nodes.

Wadin Jonathan
Thank you for this chapter that works fine.

I'm looking for create one line with angle. I have already use VerticalLineLayout and HorizontalLineLayout but I don't find one layout for line custom. 

There is one layout or way to create one visualization with LineLayout direction, position customizable ?

Thank you for your quick answer,

Cheers,
Jonathan. 


2015-01-19 19:58 GMT+01:00 Alexandre Bergel <[hidden email]>:
I am not sure what you want to compose.
Two visualizations? Yes you can use RTComposer.

Your question was an excellent opportunity for me to begin a chapter on visualization composition. Here it is:

https://dl.dropboxusercontent.com/u/31543901/AgileVisualization/BuilderComposition/0207-BuilderComposition.html

Cheers,
Alexandre



> On Jan 19, 2015, at 11:32 AM, Wadin Jonathan <[hidden email]> wrote:
>
> 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 <[hidden email]>:
> 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
> -=-=-=-=-=-=-=-=-=-=-=-=
> <Screen Shot 2015-01-19 at 11.01.17 AM.png>
>
> Cheers,
> Alexandre
>
>> On Jan 19, 2015, at 10:40 AM, Wadin Jonathan <[hidden email]> 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
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Problem to change color of nodes.

abergel
Hi Wadin,

I do not quite understand what you are trying to achieve.
A line with angle? What does it mean? A straight line? Then RTMultiLine should be your friend.

You are mentioning the layout.

What about this:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
v := RTView new.

redBalls := (RTEllipse new size: 30; color: Color red) elementsOn: (1 to: 10).
blueSquares := (RTBox new size: 30; color: Color blue) elementsOn: (1 to: 10).
v addAll: redBalls.
v addAll: blueSquares.

RTVerticalLineLayout on: redBalls.
RTHorizontalLineLayout on: blueSquares.

"redBalls translateTo: blueSquares center."
TRConstraint move: redBalls onTheTopLeftOf: blueSquares.
v
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Cheers,
Alexandre
-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



On Jan 19, 2015, at 4:57 PM, Wadin Jonathan <[hidden email]> wrote:

Thank you for this chapter that works fine.

I'm looking for create one line with angle. I have already use VerticalLineLayout and HorizontalLineLayout but I don't find one layout for line custom. 

There is one layout or way to create one visualization with LineLayout direction, position customizable ?

Thank you for your quick answer,

Cheers,
Jonathan. 


2015-01-19 19:58 GMT+01:00 Alexandre Bergel <[hidden email]>:
I am not sure what you want to compose.
Two visualizations? Yes you can use RTComposer.

Your question was an excellent opportunity for me to begin a chapter on visualization composition. Here it is:

https://dl.dropboxusercontent.com/u/31543901/AgileVisualization/BuilderComposition/0207-BuilderComposition.html

Cheers,
Alexandre



> On Jan 19, 2015, at 11:32 AM, Wadin Jonathan <[hidden email]> wrote:
>
> 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 <[hidden email]>:
> 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
> -=-=-=-=-=-=-=-=-=-=-=-=
> <Screen Shot 2015-01-19 at 11.01.17 AM.png>
>
> Cheers,
> Alexandre
>
>> On Jan 19, 2015, at 10:40 AM, Wadin Jonathan <[hidden email]> 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
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Problem to change color of nodes.

Wadin Jonathan
Hi Alexandre,

Thank you for this answer,
But I don't really want to do this kind of thing.

This is what I have below : ​
And that, is what I would like : 
Which changes I need ?

Or maybe, I need to use another layout but I don't see which one in layout package.

Thank you again,

Cheers,
Jonathan. 

2015-01-20 19:41 GMT+01:00 Alexandre Bergel <[hidden email]>:
Hi Wadin,

I do not quite understand what you are trying to achieve.
A line with angle? What does it mean? A straight line? Then RTMultiLine should be your friend.

You are mentioning the layout.

What about this:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
v := RTView new.

redBalls := (RTEllipse new size: 30; color: Color red) elementsOn: (1 to: 10).
blueSquares := (RTBox new size: 30; color: Color blue) elementsOn: (1 to: 10).
v addAll: redBalls.
v addAll: blueSquares.

RTVerticalLineLayout on: redBalls.
RTHorizontalLineLayout on: blueSquares.

"redBalls translateTo: blueSquares center."
TRConstraint move: redBalls onTheTopLeftOf: blueSquares.
v
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Cheers,
Alexandre
-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



On Jan 19, 2015, at 4:57 PM, Wadin Jonathan <[hidden email]> wrote:

Thank you for this chapter that works fine.

I'm looking for create one line with angle. I have already use VerticalLineLayout and HorizontalLineLayout but I don't find one layout for line custom. 

There is one layout or way to create one visualization with LineLayout direction, position customizable ?

Thank you for your quick answer,

Cheers,
Jonathan. 


2015-01-19 19:58 GMT+01:00 Alexandre Bergel <[hidden email]>:
I am not sure what you want to compose.
Two visualizations? Yes you can use RTComposer.

Your question was an excellent opportunity for me to begin a chapter on visualization composition. Here it is:

https://dl.dropboxusercontent.com/u/31543901/AgileVisualization/BuilderComposition/0207-BuilderComposition.html

Cheers,
Alexandre



> On Jan 19, 2015, at 11:32 AM, Wadin Jonathan <[hidden email]> wrote:
>
> 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 <[hidden email]>:
> 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
> -=-=-=-=-=-=-=-=-=-=-=-=
> <Screen Shot 2015-01-19 at 11.01.17 AM.png>
>
> Cheers,
> Alexandre
>
>> On Jan 19, 2015, at 10:40 AM, Wadin Jonathan <[hidden email]> 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
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev



_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Problem to change color of nodes.

abergel

Hi Jonathan,

I do not really understand your layout. What the angle between the two lines of nodes represent? Have you check hiveplot (it is not implemented in Roassal, just google for it). 

You need to pick the layout that let you see what you wish to.  Either you use an already existing layout, or you can implement one (which is not complicated most of the time). 
What are your requirements?

Alexandre 


Le 23 janv. 2015 à 10:27, Wadin Jonathan <[hidden email]> a écrit :

Hi Alexandre,

Thank you for this answer,
But I don't really want to do this kind of thing.

This is what I have below : ​
And that, is what I would like : 
Which changes I need ?

Or maybe, I need to use another layout but I don't see which one in layout package.

Thank you again,

Cheers,
Jonathan. 

2015-01-20 19:41 GMT+01:00 Alexandre Bergel <[hidden email]>:
Hi Wadin,

I do not quite understand what you are trying to achieve.
A line with angle? What does it mean? A straight line? Then RTMultiLine should be your friend.

You are mentioning the layout.

What about this:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
v := RTView new.

redBalls := (RTEllipse new size: 30; color: Color red) elementsOn: (1 to: 10).
blueSquares := (RTBox new size: 30; color: Color blue) elementsOn: (1 to: 10).
v addAll: redBalls.
v addAll: blueSquares.

RTVerticalLineLayout on: redBalls.
RTHorizontalLineLayout on: blueSquares.

"redBalls translateTo: blueSquares center."
TRConstraint move: redBalls onTheTopLeftOf: blueSquares.
v
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
<Screen Shot 2015-01-20 at 3.40.54 PM.png>

Cheers,
Alexandre
-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



On Jan 19, 2015, at 4:57 PM, Wadin Jonathan <[hidden email]> wrote:

Thank you for this chapter that works fine.

I'm looking for create one line with angle. I have already use VerticalLineLayout and HorizontalLineLayout but I don't find one layout for line custom. 

There is one layout or way to create one visualization with LineLayout direction, position customizable ?

Thank you for your quick answer,

Cheers,
Jonathan. 


2015-01-19 19:58 GMT+01:00 Alexandre Bergel <[hidden email]>:
I am not sure what you want to compose.
Two visualizations? Yes you can use RTComposer.

Your question was an excellent opportunity for me to begin a chapter on visualization composition. Here it is:

https://dl.dropboxusercontent.com/u/31543901/AgileVisualization/BuilderComposition/0207-BuilderComposition.html

Cheers,
Alexandre



> On Jan 19, 2015, at 11:32 AM, Wadin Jonathan <[hidden email]> wrote:
>
> 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 <[hidden email]>:
> 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
> -=-=-=-=-=-=-=-=-=-=-=-=
> <Screen Shot 2015-01-19 at 11.01.17 AM.png>
>
> Cheers,
> Alexandre
>
>> On Jan 19, 2015, at 10:40 AM, Wadin Jonathan <[hidden email]> 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
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev