agilevisualization layout chapter

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

agilevisualization layout chapter

Peter Uhnak
Hi,

Is anybody working on layout chapter?
This (summer) semester I'll be writing my bachelor thesis on model layouting and I am using Roassal, so since I need to get familiar with Roassal layouting abilities I could as well write something about it. :)

Peter

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

Re: agilevisualization layout chapter

abergel
Hi Peter!

We will work on it. Before the end of February the chapter will be ready!

Alexandre


> On Feb 13, 2015, at 9:30 AM, Peter Uhnák <[hidden email]> wrote:
>
> Hi,
>
> Is anybody working on layout chapter?
> This (summer) semester I'll be writing my bachelor thesis on model layouting and I am using Roassal, so since I need to get familiar with Roassal layouting abilities I could as well write something about it. :)
>
> Peter
> _______________________________________________
> 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: agilevisualization layout chapter

Peter Uhnak


On Fri, Feb 13, 2015 at 6:27 PM, Alexandre Bergel <[hidden email]> wrote:
Hi Peter!

We will work on it. Before the end of February the chapter will be ready!
Ah, I didn't express myself clearly. :)
What I had in mind is that since I need to get familiar with it, I could contribute and write the chapter (provided nobody is working on it already).

Peter
 

 
Alexandre


> On Feb 13, 2015, at 9:30 AM, Peter Uhnák <[hidden email]> wrote:
>
> Hi,
>
> Is anybody working on layout chapter?
> This (summer) semester I'll be writing my bachelor thesis on model layouting and I am using Roassal, so since I need to get familiar with Roassal layouting abilities I could as well write something about it. :)
>
> Peter
> _______________________________________________
> 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: agilevisualization layout chapter

abergel
Sure!!!

Feel free to do so!

Alexandre


> On Feb 13, 2015, at 2:37 PM, Peter Uhnák <[hidden email]> wrote:
>
>
>
> On Fri, Feb 13, 2015 at 6:27 PM, Alexandre Bergel <[hidden email]> wrote:
> Hi Peter!
>
> We will work on it. Before the end of February the chapter will be ready!
> Ah, I didn't express myself clearly. :)
> What I had in mind is that since I need to get familiar with it, I could contribute and write the chapter (provided nobody is working on it already).
>
> Peter
>  
>
>  
> Alexandre
>
>
> > On Feb 13, 2015, at 9:30 AM, Peter Uhnák <[hidden email]> wrote:
> >
> > Hi,
> >
> > Is anybody working on layout chapter?
> > This (summer) semester I'll be writing my bachelor thesis on model layouting and I am using Roassal, so since I need to get familiar with Roassal layouting abilities I could as well write something about it. :)
> >
> > Peter
> > _______________________________________________
> > 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: agilevisualization layout chapter

abergel
In reply to this post by Peter Uhnak
Hi Peter!

Have you started to work on the chapter? If no, then no problem. I can work on it tomorrow.
It would be really helpful that you review it then :=)

Let me know

Alexandre

> On Feb 13, 2015, at 2:37 PM, Peter Uhnák <[hidden email]> wrote:
>
>
>
> On Fri, Feb 13, 2015 at 6:27 PM, Alexandre Bergel <[hidden email]> wrote:
> Hi Peter!
>
> We will work on it. Before the end of February the chapter will be ready!
> Ah, I didn't express myself clearly. :)
> What I had in mind is that since I need to get familiar with it, I could contribute and write the chapter (provided nobody is working on it already).
>
> Peter
>  
>
>  
> Alexandre
>
>
> > On Feb 13, 2015, at 9:30 AM, Peter Uhnák <[hidden email]> wrote:
> >
> > Hi,
> >
> > Is anybody working on layout chapter?
> > This (summer) semester I'll be writing my bachelor thesis on model layouting and I am using Roassal, so since I need to get familiar with Roassal layouting abilities I could as well write something about it. :)
> >
> > Peter
> > _______________________________________________
> > 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: agilevisualization layout chapter

Peter Uhnak
Hi Alex,

this week Stef is visiting Prague so we are working on other things. However I was planning to do the chapter next week; do you need it done sooner?

Peter

On Tue, Feb 24, 2015 at 11:35 PM, Alexandre Bergel <[hidden email]> wrote:
Hi Peter!

Have you started to work on the chapter? If no, then no problem. I can work on it tomorrow.
It would be really helpful that you review it then :=)

Let me know

Alexandre

> On Feb 13, 2015, at 2:37 PM, Peter Uhnák <[hidden email]> wrote:
>
>
>
> On Fri, Feb 13, 2015 at 6:27 PM, Alexandre Bergel <[hidden email]> wrote:
> Hi Peter!
>
> We will work on it. Before the end of February the chapter will be ready!
> Ah, I didn't express myself clearly. :)
> What I had in mind is that since I need to get familiar with it, I could contribute and write the chapter (provided nobody is working on it already).
>
> Peter
>
>
>
> Alexandre
>
>
> > On Feb 13, 2015, at 9:30 AM, Peter Uhnák <[hidden email]> wrote:
> >
> > Hi,
> >
> > Is anybody working on layout chapter?
> > This (summer) semester I'll be writing my bachelor thesis on model layouting and I am using Roassal, so since I need to get familiar with Roassal layouting abilities I could as well write something about it. :)
> >
> > Peter
> > _______________________________________________
> > 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: agilevisualization layout chapter

abergel
> this week Stef is visiting Prague so we are working on other things. However I was planning to do the chapter next week; do you need it done sooner?

No, it is fine. Ok, so you give the first shoot!
I will go over it then.

Cheers,
Alexandre

>
> Peter
>
> On Tue, Feb 24, 2015 at 11:35 PM, Alexandre Bergel <[hidden email]> wrote:
> Hi Peter!
>
> Have you started to work on the chapter? If no, then no problem. I can work on it tomorrow.
> It would be really helpful that you review it then :=)
>
> Let me know
>
> Alexandre
>
> > On Feb 13, 2015, at 2:37 PM, Peter Uhnák <[hidden email]> wrote:
> >
> >
> >
> > On Fri, Feb 13, 2015 at 6:27 PM, Alexandre Bergel <[hidden email]> wrote:
> > Hi Peter!
> >
> > We will work on it. Before the end of February the chapter will be ready!
> > Ah, I didn't express myself clearly. :)
> > What I had in mind is that since I need to get familiar with it, I could contribute and write the chapter (provided nobody is working on it already).
> >
> > Peter
> >
> >
> >
> > Alexandre
> >
> >
> > > On Feb 13, 2015, at 9:30 AM, Peter Uhnák <[hidden email]> wrote:
> > >
> > > Hi,
> > >
> > > Is anybody working on layout chapter?
> > > This (summer) semester I'll be writing my bachelor thesis on model layouting and I am using Roassal, so since I need to get familiar with Roassal layouting abilities I could as well write something about it. :)
> > >
> > > Peter
> > > _______________________________________________
> > > 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

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
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: agilevisualization layout chapter

Peter Uhnak
Hi Alex,

I've done a first rough draft of the chapter, there are still missing parts because I need to figure out the internal workings of some layouts and I've encountered some issues.
Also I need to run it through spell-check. :)

Anyway, here is a list of questions and problems I have encountered when going through it. There things that definitely looks like bugs, some of it might be result of my misunderstanding (or not).


So please if you could look at the questions and give some response... either in the gist or on the mailing list (or somewhere). Meanwhile I'll continue improving the chapter and adding more text and simplifying the examples.

Peter

On Wed, Feb 25, 2015 at 2:00 PM, Alexandre Bergel <[hidden email]> wrote:
> this week Stef is visiting Prague so we are working on other things. However I was planning to do the chapter next week; do you need it done sooner?

No, it is fine. Ok, so you give the first shoot!
I will go over it then.

Cheers,
Alexandre

>
> Peter
>
> On Tue, Feb 24, 2015 at 11:35 PM, Alexandre Bergel <[hidden email]> wrote:
> Hi Peter!
>
> Have you started to work on the chapter? If no, then no problem. I can work on it tomorrow.
> It would be really helpful that you review it then :=)
>
> Let me know
>
> Alexandre
>
> > On Feb 13, 2015, at 2:37 PM, Peter Uhnák <[hidden email]> wrote:
> >
> >
> >
> > On Fri, Feb 13, 2015 at 6:27 PM, Alexandre Bergel <[hidden email]> wrote:
> > Hi Peter!
> >
> > We will work on it. Before the end of February the chapter will be ready!
> > Ah, I didn't express myself clearly. :)
> > What I had in mind is that since I need to get familiar with it, I could contribute and write the chapter (provided nobody is working on it already).
> >
> > Peter
> >
> >
> >
> > Alexandre
> >
> >
> > > On Feb 13, 2015, at 9:30 AM, Peter Uhnák <[hidden email]> wrote:
> > >
> > > Hi,
> > >
> > > Is anybody working on layout chapter?
> > > This (summer) semester I'll be writing my bachelor thesis on model layouting and I am using Roassal, so since I need to get familiar with Roassal layouting abilities I could as well write something about it. :)
> > >
> > > Peter
> > > _______________________________________________
> > > 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

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
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: agilevisualization layout chapter

kilon.alios
"Horizontal Flow on the other hand is in columns, flowing from top to bottom."

So its a Horizontal Flow by being vertical ? o_O
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: agilevisualization layout chapter

Peter Uhnak
Good catch, thanks.

Well it seems so; since from the example picture you can see it is indeed that way. I'll add it to the questions gist.

Peter

On Sun, Mar 8, 2015 at 8:09 AM, kilon alios <[hidden email]> wrote:
"Horizontal Flow on the other hand is in columns, flowing from top to bottom."

So its a Horizontal Flow by being vertical ? o_O
_______________________________________________
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: agilevisualization layout chapter

abergel
In reply to this post by Peter Uhnak
Hi Peter,

I try to answer the best I can:
| v es eb |
v := RTView new.
v @ RTDraggableView @ RTZoomableView.

es := (RTEllipse new size: 12) elementsOn: (0 to: 2).
v addAll: es.

es do: [ :each | each @ RTDraggable @ RTLabelled ].

eb := RTEdgeBuilder new.
eb shape arrowedLine.
eb
    view: v;
    elements: es;
    connectFrom: [ :value | value // 3 ].

RTTreeLayout new on: es.
v
The connectFrom: [ :value | value // 3 ] , in this case, create edges you probably do not want to have. Such has 0 -> 0. Apparently the layout cannot handle this. Would be great to fix this by the way.

Another version of your script could be:
-=-=-=-=-=-=-=-=-=-=-=-=
| v es eb |
v := RTView new.
v @ RTDraggableView @ RTZoomableView.

es := (RTEllipse new size: 12) elementsOn: (0 to: 2).
v addAll: es.

es do: [ :each | each @ RTDraggable @ RTLabelled ].

eb := RTEdgeBuilder new.
eb shape arrowedLine.
eb
    view: v;
    elements: es;
fromAssociations: { 0 ->1 . 0 ->2 }.
RTTreeLayout new on: es.
v
-=-=-=-=-=-=-=-=-=-=-=-=

It produces, as expected:

I have to say I did not understand much about the other questions. For example, the first script, titled RTCircleLayout, what is the question exactly ?

Anyway, I had a look at your chapter, it is indeed an excellent start! Thanks for this! 
It would be great if:
- you put the script to execute in the chapter. The readers should be able to cut and paste the script from the chapter into Roassal. You may then reduce the size of each figure by having just the graphic, and not the GT window.

This is great! Please continue!

Alexandre

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



On Mar 7, 2015, at 8:20 PM, Peter Uhnák <[hidden email]> wrote:

Hi Alex,

I've done a first rough draft of the chapter, there are still missing parts because I need to figure out the internal workings of some layouts and I've encountered some issues.
Also I need to run it through spell-check. :)

Anyway, here is a list of questions and problems I have encountered when going through it. There things that definitely looks like bugs, some of it might be result of my misunderstanding (or not).


So please if you could look at the questions and give some response... either in the gist or on the mailing list (or somewhere). Meanwhile I'll continue improving the chapter and adding more text and simplifying the examples.

Peter

On Wed, Feb 25, 2015 at 2:00 PM, Alexandre Bergel <[hidden email]> wrote:
> this week Stef is visiting Prague so we are working on other things. However I was planning to do the chapter next week; do you need it done sooner?

No, it is fine. Ok, so you give the first shoot!
I will go over it then.

Cheers,
Alexandre

>
> Peter
>
> On Tue, Feb 24, 2015 at 11:35 PM, Alexandre Bergel <[hidden email]> wrote:
> Hi Peter!
>
> Have you started to work on the chapter? If no, then no problem. I can work on it tomorrow.
> It would be really helpful that you review it then :=)
>
> Let me know
>
> Alexandre
>
> > On Feb 13, 2015, at 2:37 PM, Peter Uhnák <[hidden email]> wrote:
> >
> >
> >
> > On Fri, Feb 13, 2015 at 6:27 PM, Alexandre Bergel <[hidden email]> wrote:
> > Hi Peter!
> >
> > We will work on it. Before the end of February the chapter will be ready!
> > Ah, I didn't express myself clearly. :)
> > What I had in mind is that since I need to get familiar with it, I could contribute and write the chapter (provided nobody is working on it already).
> >
> > Peter
> >
> >
> >
> > Alexandre
> >
> >
> > > On Feb 13, 2015, at 9:30 AM, Peter Uhnák <[hidden email]> wrote:
> > >
> > > Hi,
> > >
> > > Is anybody working on layout chapter?
> > > This (summer) semester I'll be writing my bachelor thesis on model layouting and I am using Roassal, so since I need to get familiar with Roassal layouting abilities I could as well write something about it. :)
> > >
> > > Peter
> > > _______________________________________________
> > > 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

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
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: agilevisualization layout chapter

Peter Uhnak
Hi Alex,
 
The connectFrom: [ :value | value // 3 ] , in this case, create edges you probably do not want to have. Such has 0 -> 0. Apparently the layout cannot handle this. Would be great to fix this by the way.
 aha, that make sense; thanks

I have to say I did not understand much about the other questions.
Sorry I wrote that as sidenotes without much context.
I've rewritten it https://gist.github.com/peteruhnak/b62c776bcb93dedb849b so it should be much more understandable.
 
- you put the script to execute in the chapter
Yes, I'll change this.

Peter

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

Re: agilevisualization layout chapter

Peter Uhnak
Hi Alex,

did you have any chance to look at the revised questions?

Peter

On Fri, Mar 13, 2015 at 7:30 PM, Peter Uhnák <[hidden email]> wrote:
Hi Alex,
 
The connectFrom: [ :value | value // 3 ] , in this case, create edges you probably do not want to have. Such has 0 -> 0. Apparently the layout cannot handle this. Would be great to fix this by the way.
 aha, that make sense; thanks

I have to say I did not understand much about the other questions.
Sorry I wrote that as sidenotes without much context.
I've rewritten it https://gist.github.com/peteruhnak/b62c776bcb93dedb849b so it should be much more understandable.
 
- you put the script to execute in the chapter
Yes, I'll change this.

Peter


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

Re: agilevisualization layout chapter

abergel
I am looking at it now… Your text is in italic below

• Checking for empty elements collection is provided in RTLayout>>applyOn: and thus can be removed from doExecute: (e.g. from RTCircleLayout)
=> DONE. I have removed unnecessary checks. Well spotted!

• RTAbstractGridLayout>>lineItemsCount: aBlock can accept also just a number (for example in RTExample>>cellLayout2), so the name aBlock is confusing. Maybe should be renamed to aBlockOrNumber?
=> DONE. I have also commented the method


Only difference I found between RTCircleLayout and RTCenteredCirleLayout is center := Point x: rad y: rad. vs centerPoint := center.
Why do we need two classes? Why not just add center to CircleLayout and remove RTCenteredCircleLayout? It is confusing.
=> I am thinking about removing the class RTCenteredCirleLayout. Since we have groups. It does not make sense anymore. For example:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
v := RTView new.

center := (RTEllipse new size: 8; color: Color blue) element.
v add: center.
center translateTo: 80 @ 60.

elements := (RTEllipse new size: 5; color: Color red) elementsOn: (1 to: 20).
v addAll: elements.
RTCircleLayout on: elements.
elements translateTo: 80 @ 60.

v
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
I have removed RTcenteredCircleLayout



Currently there is in RTAbstractCircleLayout both initialAngleInDegrees: aNumber and initialAngle: aFloatIt seems unnecessary to me to keep both methods; why not remove all xxxInDegress:?

=> I see your point. However it does not harm having both way to set the initial angle. It is common in API to treat degree and radian that way as far as I have seen.


RTCircleLayout translates using translateTopLeftOf:to: while RTEquidistantCircleLayoutuses translate:to:
Wouldn't it make more sense to use translate:to also for RTCircleLayout?
=> Could be. It may break tests. I think this is the reason why I did not change it as you suggested.

What is the exact difference between Equidistant and Weighted layouts?
=> Subtil here. Equidistant makes sure you have the same distance between each element. Weighted try to fill the empty space. Consider these examples:
-=-=-=-=-=-=-=-=-=-=-=-=
v := RTView new.

center := (RTEllipse new size: 8; color: Color blue) element.
v add: center.
center translateTo: 80 @ 60.

elements := (RTEllipse new size: 5; color: Color red; size: [:vv | vv * 4 ]) elementsOn: (1 to: 15).
v addAll: elements.

RTEquidistantCircleLayout on: elements.
elements translateTo: 80 @ 60.
v
-=-=-=-=-=-=-=-=-=-=-=-=

Using the Weighted circle:
-=-=-=-=-=-=-=-=-=-=-=-=
v := RTView new.

center := (RTEllipse new size: 8; color: Color blue) element.
v add: center.
center translateTo: 80 @ 60.

elements := (RTEllipse new size: 5; color: Color red; size: [:vv | vv * 4 ]) elementsOn: (1 to: 15).
v addAll: elements.

RTWeightedCircleLayout on: elements.
elements translateTo: 80 @ 60.
v
-=-=-=-=-=-=-=-=-=-=-=-=

Does it make sense?


Q: Why is RTHorizontalFlowLayout named horizontal, if it flows in columns from top to bottom?
=> I see your point. But here another example:

Does this make sense?

Q: Shouldn't there be protocols for left/right alignment in RTFlowLayout?
=> Pierre worked on this.  I am forwarding the email to him.

Q: Why one cannot specify alignment for RTAbstractGridLayout?
=> We could do that. But the makes the code with a lot of ifTrue:ifFalse:. Things that I would like to avoid. 

Bug: RTCellLayout layouting issues
=> Indeed. You’re right. I am wondering what the RTCellLayout is useful for. Juraj worked on it. I will ask him.

Q: What is the purpose / use case of stretchable in RTAbstractLineLayout?
=> This is legacy code. It was useful in Roassal 1 and Mondrian (Roassal -1 :-) where a node can nest other node. We cannot directly do this in Roassal2. Instead, the stretchable should be in TRConstraint I think. Or maybe the stretchable should take a width (as a numerical value, or a block) as parameter. 

Q: RTTreeLayout - Doubled lines?
=> I am not able to reproduce it. 
Apparently the method is missing (although you are using it ?). I have committed it.
RTLayoutBuilder>>dominanceTree
actionOnEdges add: [ :edge | edge shape withVerticallAttachPoint ].
layout := RTDominanceTreeLayout new.
^ layout


Bug: RTRoassalExample>>exampleSmoothLayout
=> Fixed! The class RODummyNode was missing, I have added it and renamed it into RTDummyNode

Cool example isn’t it? 
RTRoassalExample new exampleSmoothLayout


Bug: RTLabelled
=> I do not understand this. Or Maybe I understand. Are you referring to:
-=-=-=-=-=-=-=-=-=
v := RTView new.
e := (RTEllipse new size: 40) elementOn: 'Happiness'.
v add: e.
e @ RTLabelled.
v
-=-=-=-=-=-=-=-=-=

vs 

-=-=-=-=-=-=-=-=-=
v := RTView new.
e @ RTLabelled.
e := (RTEllipse new size: 40) elementOn: 'Happiness'.
v add: e.
v
-=-=-=-=-=-=-=-=-=

You need to add an element to the view before adding a label to it. The reason is that RTLabelled add a label trachel shape above the trachel shape of the element. However, if the element has not been added to the view, then there is no trachel shape.

Thanks Peter for this great discussion! Thanks for looking into the core of Roassal. This is important! 

Cheers,
Alexandre


On Mar 19, 2015, at 7:03 PM, Peter Uhnák <[hidden email]> wrote:

Hi Alex,

did you have any chance to look at the revised questions?

Peter

On Fri, Mar 13, 2015 at 7:30 PM, Peter Uhnák <[hidden email]> wrote:
Hi Alex,
 
The connectFrom: [ :value | value // 3 ] , in this case, create edges you probably do not want to have. Such has 0 -> 0. Apparently the layout cannot handle this. Would be great to fix this by the way.
 aha, that make sense; thanks

I have to say I did not understand much about the other questions.
Sorry I wrote that as sidenotes without much context.
I've rewritten it https://gist.github.com/peteruhnak/b62c776bcb93dedb849b so it should be much more understandable.
 
- you put the script to execute in the chapter
Yes, I'll change this.

Peter

_______________________________________________
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: agilevisualization layout chapter

Peter Uhnak
Hi Alex,

I've made more improvements to the chapter, like adding examples, missing layouts and so on.

What do you think?
Should there be more/less examples? More/less text? Is something important missing? Is the overall structure ok?

Thanks,
Peter

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

Re: agilevisualization layout chapter

abergel
This is fantastic. How do we proceed? Best would be that you insert your chapter in https://bitbucket.org/abergel/agilevisualization

Maybe you can do a checkout, and then a pull request or something?

Cheers,
Alexandre

> On Apr 3, 2015, at 3:59 PM, Peter Uhnák <[hidden email]> wrote:
>
> Hi Alex,
>
> I've made more improvements to the chapter, like adding examples, missing layouts and so on.
> You can look at it here https://dl.dropboxusercontent.com/u/83977405/Roassal/Layout/Layout.post.pillar.html
>
> What do you think?
> Should there be more/less examples? More/less text? Is something important missing? Is the overall structure ok?
>
> Thanks,
> Peter
> _______________________________________________
> 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: agilevisualization layout chapter

Peter Uhnak
Pull request sounds good,
however the repository is private so I can't access it.

I've made a bitbucket account 'peteruhnak' so you would have to add me.

Peter

On Sat, Apr 4, 2015 at 5:45 PM, Alexandre Bergel <[hidden email]> wrote:
This is fantastic. How do we proceed? Best would be that you insert your chapter in https://bitbucket.org/abergel/agilevisualization

Maybe you can do a checkout, and then a pull request or something?

Cheers,
Alexandre

> On Apr 3, 2015, at 3:59 PM, Peter Uhnák <[hidden email]> wrote:
>
> Hi Alex,
>
> I've made more improvements to the chapter, like adding examples, missing layouts and so on.
> You can look at it here https://dl.dropboxusercontent.com/u/83977405/Roassal/Layout/Layout.post.pillar.html
>
> What do you think?
> Should there be more/less examples? More/less text? Is something important missing? Is the overall structure ok?
>
> Thanks,
> Peter
> _______________________________________________
> 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: agilevisualization layout chapter

abergel
> I've made a bitbucket account 'peteruhnak' so you would have to add me.

Done!

Alexandre

>
> Peter
>
> On Sat, Apr 4, 2015 at 5:45 PM, Alexandre Bergel <[hidden email]> wrote:
> This is fantastic. How do we proceed? Best would be that you insert your chapter in https://bitbucket.org/abergel/agilevisualization
>
> Maybe you can do a checkout, and then a pull request or something?
>
> Cheers,
> Alexandre
>
> > On Apr 3, 2015, at 3:59 PM, Peter Uhnák <[hidden email]> wrote:
> >
> > Hi Alex,
> >
> > I've made more improvements to the chapter, like adding examples, missing layouts and so on.
> > You can look at it here https://dl.dropboxusercontent.com/u/83977405/Roassal/Layout/Layout.post.pillar.html
> >
> > What do you think?
> > Should there be more/less examples? More/less text? Is something important missing? Is the overall structure ok?
> >
> > Thanks,
> > Peter
> > _______________________________________________
> > 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: agilevisualization layout chapter

Peter Uhnak
The pull request is ready for you. :)

I've added a note there regarding script replacement script, so I can change that according to your needs.

At least for me personally it was much better to see

% import-script figures/intro-random.st

instead of ten lines long
[[[
| v ..|
...
]]]
script.

Peter


On Sat, Apr 4, 2015 at 6:16 PM, Alexandre Bergel <[hidden email]> wrote:
> I've made a bitbucket account 'peteruhnak' so you would have to add me.

Done!

Alexandre

>
> Peter
>
> On Sat, Apr 4, 2015 at 5:45 PM, Alexandre Bergel <[hidden email]> wrote:
> This is fantastic. How do we proceed? Best would be that you insert your chapter in https://bitbucket.org/abergel/agilevisualization
>
> Maybe you can do a checkout, and then a pull request or something?
>
> Cheers,
> Alexandre
>
> > On Apr 3, 2015, at 3:59 PM, Peter Uhnák <[hidden email]> wrote:
> >
> > Hi Alex,
> >
> > I've made more improvements to the chapter, like adding examples, missing layouts and so on.
> > You can look at it here https://dl.dropboxusercontent.com/u/83977405/Roassal/Layout/Layout.post.pillar.html
> >
> > What do you think?
> > Should there be more/less examples? More/less text? Is something important missing? Is the overall structure ok?
> >
> > Thanks,
> > Peter
> > _______________________________________________
> > 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