Migration of the Customizable System Complexity view

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

Migration of the Customizable System Complexity view

Anne Etien
Hi,

Today, we migrated the Customizable System Complexity view of the Moose Panel from Roassal to Roassal2.
The render is not so beautiful due to the border and the popUp.
We hope that the behavior of the view remains the same.

Leo, Kevin and Anne.


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

Re: Migration of the Customizable System Complexity view

abergel
Juraj is currently working on the border

Alexandre


On Apr 11, 2014, at 12:48 PM, Anne Etien <[hidden email]> wrote:

> Hi,
>
> Today, we migrated the Customizable System Complexity view of the Moose Panel from Roassal to Roassal2.
> The render is not so beautiful due to the border and the popUp.
> We hope that the behavior of the view remains the same.
>
> Leo, Kevin and Anne.
>
>
> _______________________________________________
> 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: Migration of the Customizable System Complexity view

Juraj Kubelka-5
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Migration of the Customizable System Complexity view

Juraj Kubelka-5
In reply to this post by abergel
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Migration of the Customizable System Complexity view

Anne Etien
Perfect for the borders of the shape and of the popup.

Thanks
Anne
Le 11 avr. 2014 à 21:11, Juraj Kubelka a écrit :

> I have just committed the fix.
>
> El 11-04-2014, a las 14:10, Alexandre Bergel <[hidden email]> escribió:
>
>> Juraj is currently working on the border
>>
>> Alexandre
>>
>>
>> On Apr 11, 2014, at 12:48 PM, Anne Etien <[hidden email]> wrote:
>>
>>> Hi,
>>>
>>> Today, we migrated the Customizable System Complexity view of the Moose Panel from Roassal to Roassal2.
>>> The render is not so beautiful due to the border and the popUp.
>>> We hope that the behavior of the view remains the same.
>>>
>>> Leo, Kevin and Anne.
>>>
>>>
>>> _______________________________________________
>>> 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: Migration of the Customizable System Complexity view

Tudor Girba-2
Hi,

Thanks for working on this. However, the System Complexity View requires a minimum width and height. Could you make it so that it is at least 5?

Doru


On Fri, Apr 11, 2014 at 9:17 PM, Anne Etien <[hidden email]> wrote:
Perfect for the borders of the shape and of the popup.

Thanks
Anne
Le 11 avr. 2014 à 21:11, Juraj Kubelka a écrit :

> I have just committed the fix.
>
> El 11-04-2014, a las 14:10, Alexandre Bergel <[hidden email]> escribió:
>
>> Juraj is currently working on the border
>>
>> Alexandre
>>
>>
>> On Apr 11, 2014, at 12:48 PM, Anne Etien <[hidden email]> wrote:
>>
>>> Hi,
>>>
>>> Today, we migrated the Customizable System Complexity view of the Moose Panel from Roassal to Roassal2.
>>> The render is not so beautiful due to the border and the popUp.
>>> We hope that the behavior of the view remains the same.
>>>
>>> Leo, Kevin and Anne.
>>>
>>>
>>> _______________________________________________
>>> 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



--

"Every thing has its own flow"

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

Re: Migration of the Customizable System Complexity view

Anne Etien
Hi,

I took your email for us Doru, so I did it for the specific visu, but I think that I shouldn't. Indeed, in Roassal a ROShape had a size of 5@5 by default (defaultExtent, I think). In Roassal2, such default size has not been implemented. So I put a patch in the System Complexity View, but I think that it should be done everywhere.

So Alex, can you, please, set a minimum width and height in Roassal2 as it was in Roassal? When it is done, I will remove my patch.

Currently, it works.
Anne


Le 15 avr. 2014 à 07:10, Tudor Girba a écrit :

Hi,

Thanks for working on this. However, the System Complexity View requires a minimum width and height. Could you make it so that it is at least 5?

Doru


On Fri, Apr 11, 2014 at 9:17 PM, Anne Etien <[hidden email]> wrote:
Perfect for the borders of the shape and of the popup.

Thanks
Anne
Le 11 avr. 2014 à 21:11, Juraj Kubelka a écrit :

> I have just committed the fix.
>
> El 11-04-2014, a las 14:10, Alexandre Bergel <[hidden email]> escribió:
>
>> Juraj is currently working on the border
>>
>> Alexandre
>>
>>
>> On Apr 11, 2014, at 12:48 PM, Anne Etien <[hidden email]> wrote:
>>
>>> Hi,
>>>
>>> Today, we migrated the Customizable System Complexity view of the Moose Panel from Roassal to Roassal2.
>>> The render is not so beautiful due to the border and the popUp.
>>> We hope that the behavior of the view remains the same.
>>>
>>> Leo, Kevin and Anne.
>>>
>>>
>>> _______________________________________________
>>> 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



--

"Every thing has its own flow"
_______________________________________________
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: Migration of the Customizable System Complexity view

abergel
We indeed need a way to have limit for the size. But we have to do it in a nice way. For example, with GraphET we often need elements smaller than 5 x 5.
How do you define Customizable System Complexity view?
Can I have a look at it?

Alexandre

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



On Apr 15, 2014, at 12:05 PM, Anne Etien <[hidden email]> wrote:

Hi,

I took your email for us Doru, so I did it for the specific visu, but I think that I shouldn't. Indeed, in Roassal a ROShape had a size of 5@5 by default (defaultExtent, I think). In Roassal2, such default size has not been implemented. So I put a patch in the System Complexity View, but I think that it should be done everywhere.

So Alex, can you, please, set a minimum width and height in Roassal2 as it was in Roassal? When it is done, I will remove my patch.

Currently, it works.
Anne


Le 15 avr. 2014 à 07:10, Tudor Girba a écrit :

Hi,

Thanks for working on this. However, the System Complexity View requires a minimum width and height. Could you make it so that it is at least 5?

Doru


On Fri, Apr 11, 2014 at 9:17 PM, Anne Etien <[hidden email]> wrote:
Perfect for the borders of the shape and of the popup.

Thanks
Anne
Le 11 avr. 2014 à 21:11, Juraj Kubelka a écrit :

> I have just committed the fix.
>
> El 11-04-2014, a las 14:10, Alexandre Bergel <[hidden email]> escribió:
>
>> Juraj is currently working on the border
>>
>> Alexandre
>>
>>
>> On Apr 11, 2014, at 12:48 PM, Anne Etien <[hidden email]> wrote:
>>
>>> Hi,
>>>
>>> Today, we migrated the Customizable System Complexity view of the Moose Panel from Roassal to Roassal2.
>>> The render is not so beautiful due to the border and the popUp.
>>> We hope that the behavior of the view remains the same.
>>>
>>> Leo, Kevin and Anne.
>>>
>>>
>>> _______________________________________________
>>> 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



--

"Every thing has its own flow"
_______________________________________________
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: Migration of the Customizable System Complexity view

Anne Etien
You can use Customizable System Complexity view from the MoosePanel while right clicking on a group of classes, then visualize and then the fourth item. I made a screenshot to explain and another showing the visu on a MooseModel. I didn't know this visu before Friday, but it is I think a great one ;o)

I modified the code of the MooseCustomizableSystemComplexityBrowser>>complexityIn: method. 
We just modified it to migrate it and the called method from Roassal to Roassal2.

Anne

Le 15 avr. 2014 à 17:29, Alexandre Bergel a écrit :

We indeed need a way to have limit for the size. But we have to do it in a nice way. For example, with GraphET we often need elements smaller than 5 x 5.
How do you define Customizable System Complexity view?
Can I have a look at it?

Alexandre

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



On Apr 15, 2014, at 12:05 PM, Anne Etien <[hidden email]> wrote:

Hi,

I took your email for us Doru, so I did it for the specific visu, but I think that I shouldn't. Indeed, in Roassal a ROShape had a size of 5@5 by default (defaultExtent, I think). In Roassal2, such default size has not been implemented. So I put a patch in the System Complexity View, but I think that it should be done everywhere.

So Alex, can you, please, set a minimum width and height in Roassal2 as it was in Roassal? When it is done, I will remove my patch.

Currently, it works.
Anne


Le 15 avr. 2014 à 07:10, Tudor Girba a écrit :

Hi,

Thanks for working on this. However, the System Complexity View requires a minimum width and height. Could you make it so that it is at least 5?

Doru


On Fri, Apr 11, 2014 at 9:17 PM, Anne Etien <[hidden email]> wrote:
Perfect for the borders of the shape and of the popup.

Thanks
Anne
Le 11 avr. 2014 à 21:11, Juraj Kubelka a écrit :

> I have just committed the fix.
>
> El 11-04-2014, a las 14:10, Alexandre Bergel <[hidden email]> escribió:
>
>> Juraj is currently working on the border
>>
>> Alexandre
>>
>>
>> On Apr 11, 2014, at 12:48 PM, Anne Etien <[hidden email]> wrote:
>>
>>> Hi,
>>>
>>> Today, we migrated the Customizable System Complexity view of the Moose Panel from Roassal to Roassal2.
>>> The render is not so beautiful due to the border and the popUp.
>>> We hope that the behavior of the view remains the same.
>>>
>>> Leo, Kevin and Anne.
>>>
>>>
>>> _______________________________________________
>>> 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



--

"Every thing has its own flow"
_______________________________________________
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: Migration of the Customizable System Complexity view

abergel
Ok. I have to do some teaching today. I will have a look at it later today

Alexandre

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



On Apr 15, 2014, at 12:45 PM, Anne Etien <[hidden email]> wrote:

You can use Customizable System Complexity view from the MoosePanel while right clicking on a group of classes, then visualize and then the fourth item. I made a screenshot to explain and another showing the visu on a MooseModel. I didn't know this visu before Friday, but it is I think a great one ;o)

I modified the code of the MooseCustomizableSystemComplexityBrowser>>complexityIn: method. 
We just modified it to migrate it and the called method from Roassal to Roassal2.

Anne
<CSCView.png><MoosePanel.png>
Le 15 avr. 2014 à 17:29, Alexandre Bergel a écrit :

We indeed need a way to have limit for the size. But we have to do it in a nice way. For example, with GraphET we often need elements smaller than 5 x 5.
How do you define Customizable System Complexity view?
Can I have a look at it?

Alexandre

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



On Apr 15, 2014, at 12:05 PM, Anne Etien <[hidden email]> wrote:

Hi,

I took your email for us Doru, so I did it for the specific visu, but I think that I shouldn't. Indeed, in Roassal a ROShape had a size of 5@5 by default (defaultExtent, I think). In Roassal2, such default size has not been implemented. So I put a patch in the System Complexity View, but I think that it should be done everywhere.

So Alex, can you, please, set a minimum width and height in Roassal2 as it was in Roassal? When it is done, I will remove my patch.

Currently, it works.
Anne


Le 15 avr. 2014 à 07:10, Tudor Girba a écrit :

Hi,

Thanks for working on this. However, the System Complexity View requires a minimum width and height. Could you make it so that it is at least 5?

Doru


On Fri, Apr 11, 2014 at 9:17 PM, Anne Etien <[hidden email]> wrote:
Perfect for the borders of the shape and of the popup.

Thanks
Anne
Le 11 avr. 2014 à 21:11, Juraj Kubelka a écrit :

> I have just committed the fix.
>
> El 11-04-2014, a las 14:10, Alexandre Bergel <[hidden email]> escribió:
>
>> Juraj is currently working on the border
>>
>> Alexandre
>>
>>
>> On Apr 11, 2014, at 12:48 PM, Anne Etien <[hidden email]> wrote:
>>
>>> Hi,
>>>
>>> Today, we migrated the Customizable System Complexity view of the Moose Panel from Roassal to Roassal2.
>>> The render is not so beautiful due to the border and the popUp.
>>> We hope that the behavior of the view remains the same.
>>>
>>> Leo, Kevin and Anne.
>>>
>>>
>>> _______________________________________________
>>> 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



--

"Every thing has its own flow"
_______________________________________________
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
Reply | Threaded
Open this post in threaded view
|

Re: Migration of the Customizable System Complexity view

abergel
In reply to this post by Anne Etien
Hi Anne!

I was not able to make the example run. Maybe I run an old Moose image. I have created a couple of weeks ago a RTBoundedShapeBuilder. Mondrian uses it.

For example:
| b |
b := RTMondrianViewBuilder new.
b shape rectangle size: #yourself.
b nodes: (1 to: 20).
b open

Produce the following:

Is this what you expect?

Alexandre


On Apr 15, 2014, at 12:45 PM, Anne Etien <[hidden email]> wrote:

You can use Customizable System Complexity view from the MoosePanel while right clicking on a group of classes, then visualize and then the fourth item. I made a screenshot to explain and another showing the visu on a MooseModel. I didn't know this visu before Friday, but it is I think a great one ;o)

I modified the code of the MooseCustomizableSystemComplexityBrowser>>complexityIn: method. 
We just modified it to migrate it and the called method from Roassal to Roassal2.

Anne
<CSCView.png><MoosePanel.png>
Le 15 avr. 2014 à 17:29, Alexandre Bergel a écrit :

We indeed need a way to have limit for the size. But we have to do it in a nice way. For example, with GraphET we often need elements smaller than 5 x 5.
How do you define Customizable System Complexity view?
Can I have a look at it?

Alexandre

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



On Apr 15, 2014, at 12:05 PM, Anne Etien <[hidden email]> wrote:

Hi,

I took your email for us Doru, so I did it for the specific visu, but I think that I shouldn't. Indeed, in Roassal a ROShape had a size of 5@5 by default (defaultExtent, I think). In Roassal2, such default size has not been implemented. So I put a patch in the System Complexity View, but I think that it should be done everywhere.

So Alex, can you, please, set a minimum width and height in Roassal2 as it was in Roassal? When it is done, I will remove my patch.

Currently, it works.
Anne


Le 15 avr. 2014 à 07:10, Tudor Girba a écrit :

Hi,

Thanks for working on this. However, the System Complexity View requires a minimum width and height. Could you make it so that it is at least 5?

Doru


On Fri, Apr 11, 2014 at 9:17 PM, Anne Etien <[hidden email]> wrote:
Perfect for the borders of the shape and of the popup.

Thanks
Anne
Le 11 avr. 2014 à 21:11, Juraj Kubelka a écrit :

> I have just committed the fix.
>
> El 11-04-2014, a las 14:10, Alexandre Bergel <[hidden email]> escribió:
>
>> Juraj is currently working on the border
>>
>> Alexandre
>>
>>
>> On Apr 11, 2014, at 12:48 PM, Anne Etien <[hidden email]> wrote:
>>
>>> Hi,
>>>
>>> Today, we migrated the Customizable System Complexity view of the Moose Panel from Roassal to Roassal2.
>>> The render is not so beautiful due to the border and the popUp.
>>> We hope that the behavior of the view remains the same.
>>>
>>> Leo, Kevin and Anne.
>>>
>>>
>>> _______________________________________________
>>> 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



-- 
www.tudorgirba.com

"Every thing has its own flow"
_______________________________________________
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

-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
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: Migration of the Customizable System Complexity view

Tudor Girba-2
Hi Alex,

The recent implementation of the Customizable System Complexity works directly with the RTView. This is where the issue comes from :). We should change it to work with the MondrianBuilder.

Doru


On Wed, Apr 16, 2014 at 12:23 AM, Alexandre Bergel <[hidden email]> wrote:
Hi Anne!

I was not able to make the example run. Maybe I run an old Moose image. I have created a couple of weeks ago a RTBoundedShapeBuilder. Mondrian uses it.

For example:
| b |
b := RTMondrianViewBuilder new.
b shape rectangle size: #yourself.
b nodes: (1 to: 20).
b open

Produce the following:

Is this what you expect?

Alexandre


On Apr 15, 2014, at 12:45 PM, Anne Etien <[hidden email]> wrote:

You can use Customizable System Complexity view from the MoosePanel while right clicking on a group of classes, then visualize and then the fourth item. I made a screenshot to explain and another showing the visu on a MooseModel. I didn't know this visu before Friday, but it is I think a great one ;o)

I modified the code of the MooseCustomizableSystemComplexityBrowser>>complexityIn: method. 
We just modified it to migrate it and the called method from Roassal to Roassal2.

Anne
<CSCView.png><MoosePanel.png>

Le 15 avr. 2014 à 17:29, Alexandre Bergel a écrit :

We indeed need a way to have limit for the size. But we have to do it in a nice way. For example, with GraphET we often need elements smaller than 5 x 5.
How do you define Customizable System Complexity view?
Can I have a look at it?

Alexandre

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



On Apr 15, 2014, at 12:05 PM, Anne Etien <[hidden email]> wrote:

Hi,

I took your email for us Doru, so I did it for the specific visu, but I think that I shouldn't. Indeed, in Roassal a ROShape had a size of 5@5 by default (defaultExtent, I think). In Roassal2, such default size has not been implemented. So I put a patch in the System Complexity View, but I think that it should be done everywhere.

So Alex, can you, please, set a minimum width and height in Roassal2 as it was in Roassal? When it is done, I will remove my patch.

Currently, it works.
Anne


Le 15 avr. 2014 à 07:10, Tudor Girba a écrit :

Hi,

Thanks for working on this. However, the System Complexity View requires a minimum width and height. Could you make it so that it is at least 5?

Doru


On Fri, Apr 11, 2014 at 9:17 PM, Anne Etien <[hidden email]> wrote:
Perfect for the borders of the shape and of the popup.

Thanks
Anne
Le 11 avr. 2014 à 21:11, Juraj Kubelka a écrit :

> I have just committed the fix.
>
> El 11-04-2014, a las 14:10, Alexandre Bergel <[hidden email]> escribió:
>
>> Juraj is currently working on the border
>>
>> Alexandre
>>
>>
>> On Apr 11, 2014, at 12:48 PM, Anne Etien <[hidden email]> wrote:
>>
>>> Hi,
>>>
>>> Today, we migrated the Customizable System Complexity view of the Moose Panel from Roassal to Roassal2.
>>> The render is not so beautiful due to the border and the popUp.
>>> We hope that the behavior of the view remains the same.
>>>
>>> Leo, Kevin and Anne.
>>>
>>>
>>> _______________________________________________
>>> 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



-- 
www.tudorgirba.com

"Every thing has its own flow"
_______________________________________________
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

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




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




--

"Every thing has its own flow"

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

Re: Migration of the Customizable System Complexity view

Anne Etien
Hi,

I will try to modify the Customizable System Complexity to work with the MondrianBuilder. By the way, does it means that normally, the RTView should not be directly manipulated for a visualization, but only builder?

Anne
Le 16 avr. 2014 à 07:20, Tudor Girba a écrit :

Hi Alex,

The recent implementation of the Customizable System Complexity works directly with the RTView. This is where the issue comes from :). We should change it to work with the MondrianBuilder.

Doru


On Wed, Apr 16, 2014 at 12:23 AM, Alexandre Bergel <[hidden email]> wrote:
Hi Anne!

I was not able to make the example run. Maybe I run an old Moose image. I have created a couple of weeks ago a RTBoundedShapeBuilder. Mondrian uses it.

For example:
| b |
b := RTMondrianViewBuilder new.
b shape rectangle size: #yourself.
b nodes: (1 to: 20).
b open

Produce the following:
<Screen Shot 2014-04-15 at 7.21.14 PM.png>

Is this what you expect?

Alexandre


On Apr 15, 2014, at 12:45 PM, Anne Etien <[hidden email]> wrote:

You can use Customizable System Complexity view from the MoosePanel while right clicking on a group of classes, then visualize and then the fourth item. I made a screenshot to explain and another showing the visu on a MooseModel. I didn't know this visu before Friday, but it is I think a great one ;o)

I modified the code of the MooseCustomizableSystemComplexityBrowser>>complexityIn: method. 
We just modified it to migrate it and the called method from Roassal to Roassal2.

Anne
<CSCView.png><MoosePanel.png>

Le 15 avr. 2014 à 17:29, Alexandre Bergel a écrit :

We indeed need a way to have limit for the size. But we have to do it in a nice way. For example, with GraphET we often need elements smaller than 5 x 5.
How do you define Customizable System Complexity view?
Can I have a look at it?

Alexandre

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



On Apr 15, 2014, at 12:05 PM, Anne Etien <[hidden email]> wrote:

Hi,

I took your email for us Doru, so I did it for the specific visu, but I think that I shouldn't. Indeed, in Roassal a ROShape had a size of 5@5 by default (defaultExtent, I think). In Roassal2, such default size has not been implemented. So I put a patch in the System Complexity View, but I think that it should be done everywhere.

So Alex, can you, please, set a minimum width and height in Roassal2 as it was in Roassal? When it is done, I will remove my patch.

Currently, it works.
Anne


Le 15 avr. 2014 à 07:10, Tudor Girba a écrit :

Hi,

Thanks for working on this. However, the System Complexity View requires a minimum width and height. Could you make it so that it is at least 5?

Doru


On Fri, Apr 11, 2014 at 9:17 PM, Anne Etien <[hidden email]> wrote:
Perfect for the borders of the shape and of the popup.

Thanks
Anne
Le 11 avr. 2014 à 21:11, Juraj Kubelka a écrit :

> I have just committed the fix.
>
> El 11-04-2014, a las 14:10, Alexandre Bergel <[hidden email]> escribió:
>
>> Juraj is currently working on the border
>>
>> Alexandre
>>
>>
>> On Apr 11, 2014, at 12:48 PM, Anne Etien <[hidden email]> wrote:
>>
>>> Hi,
>>>
>>> Today, we migrated the Customizable System Complexity view of the Moose Panel from Roassal to Roassal2.
>>> The render is not so beautiful due to the border and the popUp.
>>> We hope that the behavior of the view remains the same.
>>>
>>> Leo, Kevin and Anne.
>>>
>>>
>>> _______________________________________________
>>> 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



-- 
www.tudorgirba.com

"Every thing has its own flow"
_______________________________________________
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

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




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




--

"Every thing has its own flow"
_______________________________________________
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: Migration of the Customizable System Complexity view

Tudor Girba-2
No, it does not mean that :).

Builders are useful when the target visualization matches the metaphor of the builder. For example, the MondrianBuilder is made for a graph visualization like System Complexity. But, if you would want to visualize a graph that places a lot of emphasis on position and animation, it is probably easier to work with RTView.

Doru


On Wed, Apr 16, 2014 at 7:45 AM, Anne Etien <[hidden email]> wrote:
Hi,

I will try to modify the Customizable System Complexity to work with the MondrianBuilder. By the way, does it means that normally, the RTView should not be directly manipulated for a visualization, but only builder?

Anne
Le 16 avr. 2014 à 07:20, Tudor Girba a écrit :

Hi Alex,

The recent implementation of the Customizable System Complexity works directly with the RTView. This is where the issue comes from :). We should change it to work with the MondrianBuilder.

Doru


On Wed, Apr 16, 2014 at 12:23 AM, Alexandre Bergel <[hidden email]> wrote:
Hi Anne!

I was not able to make the example run. Maybe I run an old Moose image. I have created a couple of weeks ago a RTBoundedShapeBuilder. Mondrian uses it.

For example:
| b |
b := RTMondrianViewBuilder new.
b shape rectangle size: #yourself.
b nodes: (1 to: 20).
b open

Produce the following:
<Screen Shot 2014-04-15 at 7.21.14 PM.png>

Is this what you expect?

Alexandre


On Apr 15, 2014, at 12:45 PM, Anne Etien <[hidden email]> wrote:

You can use Customizable System Complexity view from the MoosePanel while right clicking on a group of classes, then visualize and then the fourth item. I made a screenshot to explain and another showing the visu on a MooseModel. I didn't know this visu before Friday, but it is I think a great one ;o)

I modified the code of the MooseCustomizableSystemComplexityBrowser>>complexityIn: method. 
We just modified it to migrate it and the called method from Roassal to Roassal2.

Anne
<CSCView.png><MoosePanel.png>

Le 15 avr. 2014 à 17:29, Alexandre Bergel a écrit :

We indeed need a way to have limit for the size. But we have to do it in a nice way. For example, with GraphET we often need elements smaller than 5 x 5.
How do you define Customizable System Complexity view?
Can I have a look at it?

Alexandre

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



On Apr 15, 2014, at 12:05 PM, Anne Etien <[hidden email]> wrote:

Hi,

I took your email for us Doru, so I did it for the specific visu, but I think that I shouldn't. Indeed, in Roassal a ROShape had a size of 5@5 by default (defaultExtent, I think). In Roassal2, such default size has not been implemented. So I put a patch in the System Complexity View, but I think that it should be done everywhere.

So Alex, can you, please, set a minimum width and height in Roassal2 as it was in Roassal? When it is done, I will remove my patch.

Currently, it works.
Anne


Le 15 avr. 2014 à 07:10, Tudor Girba a écrit :

Hi,

Thanks for working on this. However, the System Complexity View requires a minimum width and height. Could you make it so that it is at least 5?

Doru


On Fri, Apr 11, 2014 at 9:17 PM, Anne Etien <[hidden email]> wrote:
Perfect for the borders of the shape and of the popup.

Thanks
Anne
Le 11 avr. 2014 à 21:11, Juraj Kubelka a écrit :

> I have just committed the fix.
>
> El 11-04-2014, a las 14:10, Alexandre Bergel <[hidden email]> escribió:
>
>> Juraj is currently working on the border
>>
>> Alexandre
>>
>>
>> On Apr 11, 2014, at 12:48 PM, Anne Etien <[hidden email]> wrote:
>>
>>> Hi,
>>>
>>> Today, we migrated the Customizable System Complexity view of the Moose Panel from Roassal to Roassal2.
>>> The render is not so beautiful due to the border and the popUp.
>>> We hope that the behavior of the view remains the same.
>>>
>>> Leo, Kevin and Anne.
>>>
>>>
>>> _______________________________________________
>>> 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



-- 
www.tudorgirba.com

"Every thing has its own flow"
_______________________________________________
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

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




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




--

"Every thing has its own flow"
_______________________________________________
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




--

"Every thing has its own flow"

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

Re: Migration of the Customizable System Complexity view

Anne Etien
In fact I tried with Leo to use RTMondrianViewBuilder, but it seems that it is not possible.
Indeed, the view in the painting: block parameter is a RTView. I don't want to modify the initialize method of GLMRoassal2Presentation.
So perhaps I am wrong, but it seems not so easy for the Customizable System Complexity to use RTMondrianViewBuilder.

Please find below GLMRoassal2Presentation >>initialize and MooseCustomizableSystemComplexityBrowser>>complexityIn: a

Anne

GLMRoassal2Presentation >>initialize 
super initialize.
newViewBlock := [ RTView new ].
shouldPopulateSelection := true.
self defaultActions
MooseCustomizableSystemComplexityBrowser>>complexityIn: a
^ a roassal2
painting: [ :view :group :height :width :color :presentation | 
group key
viewSimpleSystemComplexityWithSelection: OrderedCollection new
height: [:e | (height value:e) max: 5]
width: [:e | (width value:e) max: 5]
color: color
on: view ]

Le 16 avr. 2014 à 07:54, Tudor Girba a écrit :

No, it does not mean that :).

Builders are useful when the target visualization matches the metaphor of the builder. For example, the MondrianBuilder is made for a graph visualization like System Complexity. But, if you would want to visualize a graph that places a lot of emphasis on position and animation, it is probably easier to work with RTView.

Doru


On Wed, Apr 16, 2014 at 7:45 AM, Anne Etien <[hidden email]> wrote:
Hi,

I will try to modify the Customizable System Complexity to work with the MondrianBuilder. By the way, does it means that normally, the RTView should not be directly manipulated for a visualization, but only builder?

Anne
Le 16 avr. 2014 à 07:20, Tudor Girba a écrit :

Hi Alex,

The recent implementation of the Customizable System Complexity works directly with the RTView. This is where the issue comes from :). We should change it to work with the MondrianBuilder.

Doru


On Wed, Apr 16, 2014 at 12:23 AM, Alexandre Bergel <[hidden email]> wrote:
Hi Anne!

I was not able to make the example run. Maybe I run an old Moose image. I have created a couple of weeks ago a RTBoundedShapeBuilder. Mondrian uses it.

For example:
| b |
b := RTMondrianViewBuilder new.
b shape rectangle size: #yourself.
b nodes: (1 to: 20).
b open

Produce the following:
<Screen Shot 2014-04-15 at 7.21.14 PM.png>

Is this what you expect?

Alexandre


On Apr 15, 2014, at 12:45 PM, Anne Etien <[hidden email]> wrote:

You can use Customizable System Complexity view from the MoosePanel while right clicking on a group of classes, then visualize and then the fourth item. I made a screenshot to explain and another showing the visu on a MooseModel. I didn't know this visu before Friday, but it is I think a great one ;o)

I modified the code of the MooseCustomizableSystemComplexityBrowser>>complexityIn: method. 
We just modified it to migrate it and the called method from Roassal to Roassal2.

Anne
<CSCView.png><MoosePanel.png>

Le 15 avr. 2014 à 17:29, Alexandre Bergel a écrit :

We indeed need a way to have limit for the size. But we have to do it in a nice way. For example, with GraphET we often need elements smaller than 5 x 5.
How do you define Customizable System Complexity view?
Can I have a look at it?

Alexandre

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



On Apr 15, 2014, at 12:05 PM, Anne Etien <[hidden email]> wrote:

Hi,

I took your email for us Doru, so I did it for the specific visu, but I think that I shouldn't. Indeed, in Roassal a ROShape had a size of 5@5 by default (defaultExtent, I think). In Roassal2, such default size has not been implemented. So I put a patch in the System Complexity View, but I think that it should be done everywhere.

So Alex, can you, please, set a minimum width and height in Roassal2 as it was in Roassal? When it is done, I will remove my patch.

Currently, it works.
Anne


Le 15 avr. 2014 à 07:10, Tudor Girba a écrit :

Hi,

Thanks for working on this. However, the System Complexity View requires a minimum width and height. Could you make it so that it is at least 5?

Doru


On Fri, Apr 11, 2014 at 9:17 PM, Anne Etien <[hidden email]> wrote:
Perfect for the borders of the shape and of the popup.

Thanks
Anne
Le 11 avr. 2014 à 21:11, Juraj Kubelka a écrit :

> I have just committed the fix.
>
> El 11-04-2014, a las 14:10, Alexandre Bergel <[hidden email]> escribió:
>
>> Juraj is currently working on the border
>>
>> Alexandre
>>
>>
>> On Apr 11, 2014, at 12:48 PM, Anne Etien <[hidden email]> wrote:
>>
>>> Hi,
>>>
>>> Today, we migrated the Customizable System Complexity view of the Moose Panel from Roassal to Roassal2.
>>> The render is not so beautiful due to the border and the popUp.
>>> We hope that the behavior of the view remains the same.
>>>
>>> Leo, Kevin and Anne.
>>>
>>>
>>> _______________________________________________
>>> 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



-- 
www.tudorgirba.com

"Every thing has its own flow"
_______________________________________________
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

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




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




--

"Every thing has its own flow"
_______________________________________________
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




--

"Every thing has its own flow"
_______________________________________________
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: Migration of the Customizable System Complexity view

Tudor Girba-2
Ah, I see the confusion.

You can just do:

MooseCustomizableSystemComplexityBrowser>>complexityIn: a
^ a roassal2
                initializeView: [ RTMondrianViewBuilder new ]
painting: [ :view :group :height :width :color :presentation | 
group key
viewSimpleSystemComplexityWithSelection: OrderedCollection new
height: [:e | (height value:e) max: 5]
width: [:e | (width value:e) max: 5]
color: color
on: view ]

Doru



On Wed, Apr 16, 2014 at 10:37 AM, Anne Etien <[hidden email]> wrote:
In fact I tried with Leo to use RTMondrianViewBuilder, but it seems that it is not possible.
Indeed, the view in the painting: block parameter is a RTView. I don't want to modify the initialize method of GLMRoassal2Presentation.
So perhaps I am wrong, but it seems not so easy for the Customizable System Complexity to use RTMondrianViewBuilder.

Please find below GLMRoassal2Presentation >>initialize and MooseCustomizableSystemComplexityBrowser>>complexityIn: a

Anne

GLMRoassal2Presentation >>initialize 
super initialize.
newViewBlock := [ RTView new ].
shouldPopulateSelection := true.
self defaultActions
MooseCustomizableSystemComplexityBrowser>>complexityIn: a
^ a roassal2
painting: [ :view :group :height :width :color :presentation | 
group key
viewSimpleSystemComplexityWithSelection: OrderedCollection new
height: [:e | (height value:e) max: 5]
width: [:e | (width value:e) max: 5]
color: color
on: view ]

Le 16 avr. 2014 à 07:54, Tudor Girba a écrit :

No, it does not mean that :).

Builders are useful when the target visualization matches the metaphor of the builder. For example, the MondrianBuilder is made for a graph visualization like System Complexity. But, if you would want to visualize a graph that places a lot of emphasis on position and animation, it is probably easier to work with RTView.

Doru


On Wed, Apr 16, 2014 at 7:45 AM, Anne Etien <[hidden email]> wrote:
Hi,

I will try to modify the Customizable System Complexity to work with the MondrianBuilder. By the way, does it means that normally, the RTView should not be directly manipulated for a visualization, but only builder?

Anne
Le 16 avr. 2014 à 07:20, Tudor Girba a écrit :

Hi Alex,

The recent implementation of the Customizable System Complexity works directly with the RTView. This is where the issue comes from :). We should change it to work with the MondrianBuilder.

Doru


On Wed, Apr 16, 2014 at 12:23 AM, Alexandre Bergel <[hidden email]> wrote:
Hi Anne!

I was not able to make the example run. Maybe I run an old Moose image. I have created a couple of weeks ago a RTBoundedShapeBuilder. Mondrian uses it.

For example:
| b |
b := RTMondrianViewBuilder new.
b shape rectangle size: #yourself.
b nodes: (1 to: 20).
b open

Produce the following:
<Screen Shot 2014-04-15 at 7.21.14 PM.png>

Is this what you expect?

Alexandre


On Apr 15, 2014, at 12:45 PM, Anne Etien <[hidden email]> wrote:

You can use Customizable System Complexity view from the MoosePanel while right clicking on a group of classes, then visualize and then the fourth item. I made a screenshot to explain and another showing the visu on a MooseModel. I didn't know this visu before Friday, but it is I think a great one ;o)

I modified the code of the MooseCustomizableSystemComplexityBrowser>>complexityIn: method. 
We just modified it to migrate it and the called method from Roassal to Roassal2.

Anne
<CSCView.png><MoosePanel.png>

Le 15 avr. 2014 à 17:29, Alexandre Bergel a écrit :

We indeed need a way to have limit for the size. But we have to do it in a nice way. For example, with GraphET we often need elements smaller than 5 x 5.
How do you define Customizable System Complexity view?
Can I have a look at it?

Alexandre

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



On Apr 15, 2014, at 12:05 PM, Anne Etien <[hidden email]> wrote:

Hi,

I took your email for us Doru, so I did it for the specific visu, but I think that I shouldn't. Indeed, in Roassal a ROShape had a size of 5@5 by default (defaultExtent, I think). In Roassal2, such default size has not been implemented. So I put a patch in the System Complexity View, but I think that it should be done everywhere.

So Alex, can you, please, set a minimum width and height in Roassal2 as it was in Roassal? When it is done, I will remove my patch.

Currently, it works.
Anne


Le 15 avr. 2014 à 07:10, Tudor Girba a écrit :

Hi,

Thanks for working on this. However, the System Complexity View requires a minimum width and height. Could you make it so that it is at least 5?

Doru


On Fri, Apr 11, 2014 at 9:17 PM, Anne Etien <[hidden email]> wrote:
Perfect for the borders of the shape and of the popup.

Thanks
Anne
Le 11 avr. 2014 à 21:11, Juraj Kubelka a écrit :

> I have just committed the fix.
>
> El 11-04-2014, a las 14:10, Alexandre Bergel <[hidden email]> escribió:
>
>> Juraj is currently working on the border
>>
>> Alexandre
>>
>>
>> On Apr 11, 2014, at 12:48 PM, Anne Etien <[hidden email]> wrote:
>>
>>> Hi,
>>>
>>> Today, we migrated the Customizable System Complexity view of the Moose Panel from Roassal to Roassal2.
>>> The render is not so beautiful due to the border and the popUp.
>>> We hope that the behavior of the view remains the same.
>>>
>>> Leo, Kevin and Anne.
>>>
>>>
>>> _______________________________________________
>>> 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



-- 
www.tudorgirba.com

"Every thing has its own flow"
_______________________________________________
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

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




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




--

"Every thing has its own flow"
_______________________________________________
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




--

"Every thing has its own flow"
_______________________________________________
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




--

"Every thing has its own flow"

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

Re: Migration of the Customizable System Complexity view

Anne Etien
It does not work. We (Leo and I) made this insertion and modified the viewSimpleSystemComplexityWithSelection: height: width: color: on: to apply on RTMondrianBuilder and no more on an RTView. But it really seems that GLMRoassal2Presentation is waiting for an RTView as view and not a RTMondrianViewBuilder. The elements method does not exist on a RTMondrianViewBuilder.

So it seems that it is really more complex to use a RTMondrianViewBuilder in the Customizable System Complexity view since it has repercussions on Glamour.

Leo and Anne

GLMRoassal2Presentation >> renderOn: aView
self paintingBlock glamourValue: (
aView asGlamorousMultiValue, 
self entity asGlamorousMultiValue,
self asGlamorousMultiValue ).
" self flag: 'This should be the responsibility of the the view'.
aView applyLayout. "
self shouldPopulateSelection ifTrue: [
aView elements do: [:each |  
each on: TRMouseLeftClick do: [:event | self selection: each model ]] ].
self view: aView


Le 16 avr. 2014 à 11:25, Tudor Girba a écrit :

Ah, I see the confusion.

You can just do:

MooseCustomizableSystemComplexityBrowser>>complexityIn: a
^ a roassal2
                initializeView: [ RTMondrianViewBuilder new ]
painting: [ :view :group :height :width :color :presentation | 
group key
viewSimpleSystemComplexityWithSelection: OrderedCollection new
height: [:e | (height value:e) max: 5]
width: [:e | (width value:e) max: 5]
color: color
on: view ]

Doru



On Wed, Apr 16, 2014 at 10:37 AM, Anne Etien <[hidden email]> wrote:
In fact I tried with Leo to use RTMondrianViewBuilder, but it seems that it is not possible.
Indeed, the view in the painting: block parameter is a RTView. I don't want to modify the initialize method of GLMRoassal2Presentation.
So perhaps I am wrong, but it seems not so easy for the Customizable System Complexity to use RTMondrianViewBuilder.

Please find below GLMRoassal2Presentation >>initialize and MooseCustomizableSystemComplexityBrowser>>complexityIn: a

Anne

GLMRoassal2Presentation >>initialize 
super initialize.
newViewBlock := [ RTView new ].
shouldPopulateSelection := true.
self defaultActions
MooseCustomizableSystemComplexityBrowser>>complexityIn: a
^ a roassal2
painting: [ :view :group :height :width :color :presentation | 
group key
viewSimpleSystemComplexityWithSelection: OrderedCollection new
height: [:e | (height value:e) max: 5]
width: [:e | (width value:e) max: 5]
color: color
on: view ]

Le 16 avr. 2014 à 07:54, Tudor Girba a écrit :

No, it does not mean that :).

Builders are useful when the target visualization matches the metaphor of the builder. For example, the MondrianBuilder is made for a graph visualization like System Complexity. But, if you would want to visualize a graph that places a lot of emphasis on position and animation, it is probably easier to work with RTView.

Doru


On Wed, Apr 16, 2014 at 7:45 AM, Anne Etien <[hidden email]> wrote:
Hi,

I will try to modify the Customizable System Complexity to work with the MondrianBuilder. By the way, does it means that normally, the RTView should not be directly manipulated for a visualization, but only builder?

Anne
Le 16 avr. 2014 à 07:20, Tudor Girba a écrit :

Hi Alex,

The recent implementation of the Customizable System Complexity works directly with the RTView. This is where the issue comes from :). We should change it to work with the MondrianBuilder.

Doru


On Wed, Apr 16, 2014 at 12:23 AM, Alexandre Bergel <[hidden email]> wrote:
Hi Anne!

I was not able to make the example run. Maybe I run an old Moose image. I have created a couple of weeks ago a RTBoundedShapeBuilder. Mondrian uses it.

For example:
| b |
b := RTMondrianViewBuilder new.
b shape rectangle size: #yourself.
b nodes: (1 to: 20).
b open

Produce the following:
<Screen Shot 2014-04-15 at 7.21.14 PM.png>

Is this what you expect?

Alexandre


On Apr 15, 2014, at 12:45 PM, Anne Etien <[hidden email]> wrote:

You can use Customizable System Complexity view from the MoosePanel while right clicking on a group of classes, then visualize and then the fourth item. I made a screenshot to explain and another showing the visu on a MooseModel. I didn't know this visu before Friday, but it is I think a great one ;o)

I modified the code of the MooseCustomizableSystemComplexityBrowser>>complexityIn: method. 
We just modified it to migrate it and the called method from Roassal to Roassal2.

Anne
<CSCView.png><MoosePanel.png>

Le 15 avr. 2014 à 17:29, Alexandre Bergel a écrit :

We indeed need a way to have limit for the size. But we have to do it in a nice way. For example, with GraphET we often need elements smaller than 5 x 5.
How do you define Customizable System Complexity view?
Can I have a look at it?

Alexandre

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



On Apr 15, 2014, at 12:05 PM, Anne Etien <[hidden email]> wrote:

Hi,

I took your email for us Doru, so I did it for the specific visu, but I think that I shouldn't. Indeed, in Roassal a ROShape had a size of 5@5 by default (defaultExtent, I think). In Roassal2, such default size has not been implemented. So I put a patch in the System Complexity View, but I think that it should be done everywhere.

So Alex, can you, please, set a minimum width and height in Roassal2 as it was in Roassal? When it is done, I will remove my patch.

Currently, it works.
Anne


Le 15 avr. 2014 à 07:10, Tudor Girba a écrit :

Hi,

Thanks for working on this. However, the System Complexity View requires a minimum width and height. Could you make it so that it is at least 5?

Doru


On Fri, Apr 11, 2014 at 9:17 PM, Anne Etien <[hidden email]> wrote:
Perfect for the borders of the shape and of the popup.

Thanks
Anne
Le 11 avr. 2014 à 21:11, Juraj Kubelka a écrit :

> I have just committed the fix.
>
> El 11-04-2014, a las 14:10, Alexandre Bergel <[hidden email]> escribió:
>
>> Juraj is currently working on the border
>>
>> Alexandre
>>
>>
>> On Apr 11, 2014, at 12:48 PM, Anne Etien <[hidden email]> wrote:
>>
>>> Hi,
>>>
>>> Today, we migrated the Customizable System Complexity view of the Moose Panel from Roassal to Roassal2.
>>> The render is not so beautiful due to the border and the popUp.
>>> We hope that the behavior of the view remains the same.
>>>
>>> Leo, Kevin and Anne.
>>>
>>>
>>> _______________________________________________
>>> 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



-- 
www.tudorgirba.com

"Every thing has its own flow"
_______________________________________________
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

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




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




--

"Every thing has its own flow"
_______________________________________________
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




--

"Every thing has its own flow"
_______________________________________________
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




--

"Every thing has its own flow"
_______________________________________________
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: Migration of the Customizable System Complexity view

Tudor Girba-2
Thanks for the report. Please open a bug and I will fix it. This is still a construction site :)

Doru


On Wed, Apr 16, 2014 at 12:00 PM, Anne Etien <[hidden email]> wrote:
It does not work. We (Leo and I) made this insertion and modified the viewSimpleSystemComplexityWithSelection: height: width: color: on: to apply on RTMondrianBuilder and no more on an RTView. But it really seems that GLMRoassal2Presentation is waiting for an RTView as view and not a RTMondrianViewBuilder. The elements method does not exist on a RTMondrianViewBuilder.

So it seems that it is really more complex to use a RTMondrianViewBuilder in the Customizable System Complexity view since it has repercussions on Glamour.

Leo and Anne

GLMRoassal2Presentation >> renderOn: aView
self paintingBlock glamourValue: (
aView asGlamorousMultiValue, 
self entity asGlamorousMultiValue,
self asGlamorousMultiValue ).
" self flag: 'This should be the responsibility of the the view'.
aView applyLayout. "
self shouldPopulateSelection ifTrue: [
aView elements do: [:each |  
each on: TRMouseLeftClick do: [:event | self selection: each model ]] ].
self view: aView


Le 16 avr. 2014 à 11:25, Tudor Girba a écrit :

Ah, I see the confusion.

You can just do:

MooseCustomizableSystemComplexityBrowser>>complexityIn: a
^ a roassal2
                initializeView: [ RTMondrianViewBuilder new ]
painting: [ :view :group :height :width :color :presentation | 
group key
viewSimpleSystemComplexityWithSelection: OrderedCollection new
height: [:e | (height value:e) max: 5]
width: [:e | (width value:e) max: 5]
color: color
on: view ]

Doru



On Wed, Apr 16, 2014 at 10:37 AM, Anne Etien <[hidden email]> wrote:
In fact I tried with Leo to use RTMondrianViewBuilder, but it seems that it is not possible.
Indeed, the view in the painting: block parameter is a RTView. I don't want to modify the initialize method of GLMRoassal2Presentation.
So perhaps I am wrong, but it seems not so easy for the Customizable System Complexity to use RTMondrianViewBuilder.

Please find below GLMRoassal2Presentation >>initialize and MooseCustomizableSystemComplexityBrowser>>complexityIn: a

Anne

GLMRoassal2Presentation >>initialize 
super initialize.
newViewBlock := [ RTView new ].
shouldPopulateSelection := true.
self defaultActions
MooseCustomizableSystemComplexityBrowser>>complexityIn: a
^ a roassal2
painting: [ :view :group :height :width :color :presentation | 
group key
viewSimpleSystemComplexityWithSelection: OrderedCollection new
height: [:e | (height value:e) max: 5]
width: [:e | (width value:e) max: 5]
color: color
on: view ]

Le 16 avr. 2014 à 07:54, Tudor Girba a écrit :

No, it does not mean that :).

Builders are useful when the target visualization matches the metaphor of the builder. For example, the MondrianBuilder is made for a graph visualization like System Complexity. But, if you would want to visualize a graph that places a lot of emphasis on position and animation, it is probably easier to work with RTView.

Doru


On Wed, Apr 16, 2014 at 7:45 AM, Anne Etien <[hidden email]> wrote:
Hi,

I will try to modify the Customizable System Complexity to work with the MondrianBuilder. By the way, does it means that normally, the RTView should not be directly manipulated for a visualization, but only builder?

Anne
Le 16 avr. 2014 à 07:20, Tudor Girba a écrit :

Hi Alex,

The recent implementation of the Customizable System Complexity works directly with the RTView. This is where the issue comes from :). We should change it to work with the MondrianBuilder.

Doru


On Wed, Apr 16, 2014 at 12:23 AM, Alexandre Bergel <[hidden email]> wrote:
Hi Anne!

I was not able to make the example run. Maybe I run an old Moose image. I have created a couple of weeks ago a RTBoundedShapeBuilder. Mondrian uses it.

For example:
| b |
b := RTMondrianViewBuilder new.
b shape rectangle size: #yourself.
b nodes: (1 to: 20).
b open

Produce the following:
<Screen Shot 2014-04-15 at 7.21.14 PM.png>

Is this what you expect?

Alexandre


On Apr 15, 2014, at 12:45 PM, Anne Etien <[hidden email]> wrote:

You can use Customizable System Complexity view from the MoosePanel while right clicking on a group of classes, then visualize and then the fourth item. I made a screenshot to explain and another showing the visu on a MooseModel. I didn't know this visu before Friday, but it is I think a great one ;o)

I modified the code of the MooseCustomizableSystemComplexityBrowser>>complexityIn: method. 
We just modified it to migrate it and the called method from Roassal to Roassal2.

Anne
<CSCView.png><MoosePanel.png>

Le 15 avr. 2014 à 17:29, Alexandre Bergel a écrit :

We indeed need a way to have limit for the size. But we have to do it in a nice way. For example, with GraphET we often need elements smaller than 5 x 5.
How do you define Customizable System Complexity view?
Can I have a look at it?

Alexandre

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



On Apr 15, 2014, at 12:05 PM, Anne Etien <[hidden email]> wrote:

Hi,

I took your email for us Doru, so I did it for the specific visu, but I think that I shouldn't. Indeed, in Roassal a ROShape had a size of 5@5 by default (defaultExtent, I think). In Roassal2, such default size has not been implemented. So I put a patch in the System Complexity View, but I think that it should be done everywhere.

So Alex, can you, please, set a minimum width and height in Roassal2 as it was in Roassal? When it is done, I will remove my patch.

Currently, it works.
Anne


Le 15 avr. 2014 à 07:10, Tudor Girba a écrit :

Hi,

Thanks for working on this. However, the System Complexity View requires a minimum width and height. Could you make it so that it is at least 5?

Doru


On Fri, Apr 11, 2014 at 9:17 PM, Anne Etien <[hidden email]> wrote:
Perfect for the borders of the shape and of the popup.

Thanks
Anne
Le 11 avr. 2014 à 21:11, Juraj Kubelka a écrit :

> I have just committed the fix.
>
> El 11-04-2014, a las 14:10, Alexandre Bergel <[hidden email]> escribió:
>
>> Juraj is currently working on the border
>>
>> Alexandre
>>
>>
>> On Apr 11, 2014, at 12:48 PM, Anne Etien <[hidden email]> wrote:
>>
>>> Hi,
>>>
>>> Today, we migrated the Customizable System Complexity view of the Moose Panel from Roassal to Roassal2.
>>> The render is not so beautiful due to the border and the popUp.
>>> We hope that the behavior of the view remains the same.
>>>
>>> Leo, Kevin and Anne.
>>>
>>>
>>> _______________________________________________
>>> 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



-- 
www.tudorgirba.com

"Every thing has its own flow"
_______________________________________________
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

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




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




--

"Every thing has its own flow"
_______________________________________________
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




--

"Every thing has its own flow"
_______________________________________________
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




--

"Every thing has its own flow"
_______________________________________________
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




--

"Every thing has its own flow"

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

Re: Migration of the Customizable System Complexity view

Tudor Girba-2
Fixed. Please take the latest version of Glamour.

Doru


On Wed, Apr 16, 2014 at 12:11 PM, Tudor Girba <[hidden email]> wrote:
Thanks for the report. Please open a bug and I will fix it. This is still a construction site :)

Doru


On Wed, Apr 16, 2014 at 12:00 PM, Anne Etien <[hidden email]> wrote:
It does not work. We (Leo and I) made this insertion and modified the viewSimpleSystemComplexityWithSelection: height: width: color: on: to apply on RTMondrianBuilder and no more on an RTView. But it really seems that GLMRoassal2Presentation is waiting for an RTView as view and not a RTMondrianViewBuilder. The elements method does not exist on a RTMondrianViewBuilder.

So it seems that it is really more complex to use a RTMondrianViewBuilder in the Customizable System Complexity view since it has repercussions on Glamour.

Leo and Anne

GLMRoassal2Presentation >> renderOn: aView
self paintingBlock glamourValue: (
aView asGlamorousMultiValue, 
self entity asGlamorousMultiValue,
self asGlamorousMultiValue ).
" self flag: 'This should be the responsibility of the the view'.
aView applyLayout. "
self shouldPopulateSelection ifTrue: [
aView elements do: [:each |  
each on: TRMouseLeftClick do: [:event | self selection: each model ]] ].
self view: aView


Le 16 avr. 2014 à 11:25, Tudor Girba a écrit :

Ah, I see the confusion.

You can just do:

MooseCustomizableSystemComplexityBrowser>>complexityIn: a
^ a roassal2
                initializeView: [ RTMondrianViewBuilder new ]
painting: [ :view :group :height :width :color :presentation | 
group key
viewSimpleSystemComplexityWithSelection: OrderedCollection new
height: [:e | (height value:e) max: 5]
width: [:e | (width value:e) max: 5]
color: color
on: view ]

Doru



On Wed, Apr 16, 2014 at 10:37 AM, Anne Etien <[hidden email]> wrote:
In fact I tried with Leo to use RTMondrianViewBuilder, but it seems that it is not possible.
Indeed, the view in the painting: block parameter is a RTView. I don't want to modify the initialize method of GLMRoassal2Presentation.
So perhaps I am wrong, but it seems not so easy for the Customizable System Complexity to use RTMondrianViewBuilder.

Please find below GLMRoassal2Presentation >>initialize and MooseCustomizableSystemComplexityBrowser>>complexityIn: a

Anne

GLMRoassal2Presentation >>initialize 
super initialize.
newViewBlock := [ RTView new ].
shouldPopulateSelection := true.
self defaultActions
MooseCustomizableSystemComplexityBrowser>>complexityIn: a
^ a roassal2
painting: [ :view :group :height :width :color :presentation | 
group key
viewSimpleSystemComplexityWithSelection: OrderedCollection new
height: [:e | (height value:e) max: 5]
width: [:e | (width value:e) max: 5]
color: color
on: view ]

Le 16 avr. 2014 à 07:54, Tudor Girba a écrit :

No, it does not mean that :).

Builders are useful when the target visualization matches the metaphor of the builder. For example, the MondrianBuilder is made for a graph visualization like System Complexity. But, if you would want to visualize a graph that places a lot of emphasis on position and animation, it is probably easier to work with RTView.

Doru


On Wed, Apr 16, 2014 at 7:45 AM, Anne Etien <[hidden email]> wrote:
Hi,

I will try to modify the Customizable System Complexity to work with the MondrianBuilder. By the way, does it means that normally, the RTView should not be directly manipulated for a visualization, but only builder?

Anne
Le 16 avr. 2014 à 07:20, Tudor Girba a écrit :

Hi Alex,

The recent implementation of the Customizable System Complexity works directly with the RTView. This is where the issue comes from :). We should change it to work with the MondrianBuilder.

Doru


On Wed, Apr 16, 2014 at 12:23 AM, Alexandre Bergel <[hidden email]> wrote:
Hi Anne!

I was not able to make the example run. Maybe I run an old Moose image. I have created a couple of weeks ago a RTBoundedShapeBuilder. Mondrian uses it.

For example:
| b |
b := RTMondrianViewBuilder new.
b shape rectangle size: #yourself.
b nodes: (1 to: 20).
b open

Produce the following:
<Screen Shot 2014-04-15 at 7.21.14 PM.png>

Is this what you expect?

Alexandre


On Apr 15, 2014, at 12:45 PM, Anne Etien <[hidden email]> wrote:

You can use Customizable System Complexity view from the MoosePanel while right clicking on a group of classes, then visualize and then the fourth item. I made a screenshot to explain and another showing the visu on a MooseModel. I didn't know this visu before Friday, but it is I think a great one ;o)

I modified the code of the MooseCustomizableSystemComplexityBrowser>>complexityIn: method. 
We just modified it to migrate it and the called method from Roassal to Roassal2.

Anne
<CSCView.png><MoosePanel.png>

Le 15 avr. 2014 à 17:29, Alexandre Bergel a écrit :

We indeed need a way to have limit for the size. But we have to do it in a nice way. For example, with GraphET we often need elements smaller than 5 x 5.
How do you define Customizable System Complexity view?
Can I have a look at it?

Alexandre

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



On Apr 15, 2014, at 12:05 PM, Anne Etien <[hidden email]> wrote:

Hi,

I took your email for us Doru, so I did it for the specific visu, but I think that I shouldn't. Indeed, in Roassal a ROShape had a size of 5@5 by default (defaultExtent, I think). In Roassal2, such default size has not been implemented. So I put a patch in the System Complexity View, but I think that it should be done everywhere.

So Alex, can you, please, set a minimum width and height in Roassal2 as it was in Roassal? When it is done, I will remove my patch.

Currently, it works.
Anne


Le 15 avr. 2014 à 07:10, Tudor Girba a écrit :

Hi,

Thanks for working on this. However, the System Complexity View requires a minimum width and height. Could you make it so that it is at least 5?

Doru


On Fri, Apr 11, 2014 at 9:17 PM, Anne Etien <[hidden email]> wrote:
Perfect for the borders of the shape and of the popup.

Thanks
Anne
Le 11 avr. 2014 à 21:11, Juraj Kubelka a écrit :

> I have just committed the fix.
>
> El 11-04-2014, a las 14:10, Alexandre Bergel <[hidden email]> escribió:
>
>> Juraj is currently working on the border
>>
>> Alexandre
>>
>>
>> On Apr 11, 2014, at 12:48 PM, Anne Etien <[hidden email]> wrote:
>>
>>> Hi,
>>>
>>> Today, we migrated the Customizable System Complexity view of the Moose Panel from Roassal to Roassal2.
>>> The render is not so beautiful due to the border and the popUp.
>>> We hope that the behavior of the view remains the same.
>>>
>>> Leo, Kevin and Anne.
>>>
>>>
>>> _______________________________________________
>>> 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



-- 
www.tudorgirba.com

"Every thing has its own flow"
_______________________________________________
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

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




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




--

"Every thing has its own flow"
_______________________________________________
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




--

"Every thing has its own flow"
_______________________________________________
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




--

"Every thing has its own flow"
_______________________________________________
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




--

"Every thing has its own flow"



--

"Every thing has its own flow"

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

Re: Migration of the Customizable System Complexity view

abergel
In reply to this post by Tudor Girba-2
MondrianBuilder is currently not optimal. It is quite slow as soon as it contains many nestings.

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



On Apr 16, 2014, at 2:20 AM, Tudor Girba <[hidden email]> wrote:

> Hi Alex,
>
> The recent implementation of the Customizable System Complexity works directly with the RTView. This is where the issue comes from :). We should change it to work with the MondrianBuilder.
>
> Doru
>
>
> On Wed, Apr 16, 2014 at 12:23 AM, Alexandre Bergel <[hidden email]> wrote:
> Hi Anne!
>
> I was not able to make the example run. Maybe I run an old Moose image. I have created a couple of weeks ago a RTBoundedShapeBuilder. Mondrian uses it.
>
> For example:
> | b |
> b := RTMondrianViewBuilder new.
> b shape rectangle size: #yourself.
> b nodes: (1 to: 20).
> b open
>
> Produce the following:
> <Screen Shot 2014-04-15 at 7.21.14 PM.png>
>
> Is this what you expect?
>
> Alexandre
>
>
> On Apr 15, 2014, at 12:45 PM, Anne Etien <[hidden email]> wrote:
>
>> You can use Customizable System Complexity view from the MoosePanel while right clicking on a group of classes, then visualize and then the fourth item. I made a screenshot to explain and another showing the visu on a MooseModel. I didn't know this visu before Friday, but it is I think a great one ;o)
>>
>> I modified the code of the MooseCustomizableSystemComplexityBrowser>>complexityIn: method.
>> We just modified it to migrate it and the called method from Roassal to Roassal2.
>>
>> Anne
>> <CSCView.png><MoosePanel.png>
>>
>> Le 15 avr. 2014 à 17:29, Alexandre Bergel a écrit :
>>
>>> We indeed need a way to have limit for the size. But we have to do it in a nice way. For example, with GraphET we often need elements smaller than 5 x 5.
>>> How do you define Customizable System Complexity view?
>>> Can I have a look at it?
>>>
>>> Alexandre
>>>
>>> --
>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>> Alexandre Bergel  http://www.bergel.eu
>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>
>>>
>>>
>>> On Apr 15, 2014, at 12:05 PM, Anne Etien <[hidden email]> wrote:
>>>
>>>> Hi,
>>>>
>>>> I took your email for us Doru, so I did it for the specific visu, but I think that I shouldn't. Indeed, in Roassal a ROShape had a size of 5@5 by default (defaultExtent, I think). In Roassal2, such default size has not been implemented. So I put a patch in the System Complexity View, but I think that it should be done everywhere.
>>>>
>>>> So Alex, can you, please, set a minimum width and height in Roassal2 as it was in Roassal? When it is done, I will remove my patch.
>>>>
>>>> Currently, it works.
>>>> Anne
>>>>
>>>>
>>>> Le 15 avr. 2014 à 07:10, Tudor Girba a écrit :
>>>>
>>>>> Hi,
>>>>>
>>>>> Thanks for working on this. However, the System Complexity View requires a minimum width and height. Could you make it so that it is at least 5?
>>>>>
>>>>> Doru
>>>>>
>>>>>
>>>>> On Fri, Apr 11, 2014 at 9:17 PM, Anne Etien <[hidden email]> wrote:
>>>>> Perfect for the borders of the shape and of the popup.
>>>>>
>>>>> Thanks
>>>>> Anne
>>>>> Le 11 avr. 2014 à 21:11, Juraj Kubelka a écrit :
>>>>>
>>>>> > I have just committed the fix.
>>>>> >
>>>>> > El 11-04-2014, a las 14:10, Alexandre Bergel <[hidden email]> escribió:
>>>>> >
>>>>> >> Juraj is currently working on the border
>>>>> >>
>>>>> >> Alexandre
>>>>> >>
>>>>> >>
>>>>> >> On Apr 11, 2014, at 12:48 PM, Anne Etien <[hidden email]> wrote:
>>>>> >>
>>>>> >>> Hi,
>>>>> >>>
>>>>> >>> Today, we migrated the Customizable System Complexity view of the Moose Panel from Roassal to Roassal2.
>>>>> >>> The render is not so beautiful due to the border and the popUp.
>>>>> >>> We hope that the behavior of the view remains the same.
>>>>> >>>
>>>>> >>> Leo, Kevin and Anne.
>>>>> >>>
>>>>> >>>
>>>>> >>> _______________________________________________
>>>>> >>> 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
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> www.tudorgirba.com
>>>>>
>>>>> "Every thing has its own flow"
>>>>> _______________________________________________
>>>>> 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
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
>
>
> --
> www.tudorgirba.com
>
> "Every thing has its own flow"
> _______________________________________________
> 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
12