HivePlot package

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

HivePlot package

Wadin Jonathan
Hi,

Here, it's my hive plot package. This is not finish at all. But this is a first version and that give to you one way to create hive plot.

I will continue to work on and improve it. What will I add soon :

- Add generic constructor and lot of possibilities (out-going and in-going dependencies)
- Add several examples.
- Create curve (directed) edges for mondrian.
- Add automatic colors.


One question, it's possible to curve edges with "directed" in RTGraphBuilder but this doesn't exists with RTMondrian. 

How can I get directed edges with RTMondrian ?

Can you check it and give me some feedback ?

My smalltalkhub project : 


Cheers,

Jonathan.

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

Re: HivePlot package

abergel
I will check. But apparently there is a problem with the DNS entry of smalltalkhub?
smalltalkhub.com apparently points to the website of the association. Am I the only one?

Alexandre


> On Mar 9, 2015, at 10:07 AM, Jonathan Wadin <[hidden email]> wrote:
>
> Hi,
>
> Here, it's my hive plot package. This is not finish at all. But this is a first version and that give to you one way to create hive plot.
>
> I will continue to work on and improve it. What will I add soon :
>
> - Add generic constructor and lot of possibilities (out-going and in-going dependencies)
> - Add several examples.
> - Create curve (directed) edges for mondrian.
> - Add automatic colors.
>
>
> One question, it's possible to curve edges with "directed" in RTGraphBuilder but this doesn't exists with RTMondrian.
>
> How can I get directed edges with RTMondrian ?
>
> Can you check it and give me some feedback ?
>
> My smalltalkhub project :
>
> http://smalltalkhub.com/#!/~JonathanWadin/HivePlot
>
> Cheers,
>
> Jonathan.
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

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




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

Re: HivePlot package

Sven Van Caekenberghe-2

> On 09 Mar 2015, at 14:37, Alexandre Bergel <[hidden email]> wrote:
>
> I will check. But apparently there is a problem with the DNS entry of smalltalkhub?
> smalltalkhub.com apparently points to the website of the association. Am I the only one?

Esteban is doing a short maintenance.

> Alexandre
>
>
>> On Mar 9, 2015, at 10:07 AM, Jonathan Wadin <[hidden email]> wrote:
>>
>> Hi,
>>
>> Here, it's my hive plot package. This is not finish at all. But this is a first version and that give to you one way to create hive plot.
>>
>> I will continue to work on and improve it. What will I add soon :
>>
>> - Add generic constructor and lot of possibilities (out-going and in-going dependencies)
>> - Add several examples.
>> - Create curve (directed) edges for mondrian.
>> - Add automatic colors.
>>
>>
>> One question, it's possible to curve edges with "directed" in RTGraphBuilder but this doesn't exists with RTMondrian.
>>
>> How can I get directed edges with RTMondrian ?
>>
>> Can you check it and give me some feedback ?
>>
>> My smalltalkhub project :
>>
>> http://smalltalkhub.com/#!/~JonathanWadin/HivePlot
>>
>> Cheers,
>>
>> Jonathan.
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev


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

Re: HivePlot package

Wadin Jonathan
In reply to this post by abergel
Yes, there is a maintenance for 30 min.


2015-03-09 14:37 GMT+01:00 Alexandre Bergel <[hidden email]>:
I will check. But apparently there is a problem with the DNS entry of smalltalkhub?
smalltalkhub.com apparently points to the website of the association. Am I the only one?

Alexandre


> On Mar 9, 2015, at 10:07 AM, Jonathan Wadin <[hidden email]> wrote:
>
> Hi,
>
> Here, it's my hive plot package. This is not finish at all. But this is a first version and that give to you one way to create hive plot.
>
> I will continue to work on and improve it. What will I add soon :
>
> - Add generic constructor and lot of possibilities (out-going and in-going dependencies)
> - Add several examples.
> - Create curve (directed) edges for mondrian.
> - Add automatic colors.
>
>
> One question, it's possible to curve edges with "directed" in RTGraphBuilder but this doesn't exists with RTMondrian.
>
> How can I get directed edges with RTMondrian ?
>
> Can you check it and give me some feedback ?
>
> My smalltalkhub project :
>
> http://smalltalkhub.com/#!/~JonathanWadin/HivePlot
>
> Cheers,
>
> Jonathan.
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

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




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


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

Re: HivePlot package

Wadin Jonathan
In reply to this post by Sven Van Caekenberghe-2
Now smalltalkhub is available. 

Did you check it ?

Cheers, 
Jonathan.

2015-03-09 14:40 GMT+01:00 Sven Van Caekenberghe <[hidden email]>:

> On 09 Mar 2015, at 14:37, Alexandre Bergel <[hidden email]> wrote:
>
> I will check. But apparently there is a problem with the DNS entry of smalltalkhub?
> smalltalkhub.com apparently points to the website of the association. Am I the only one?

Esteban is doing a short maintenance.

> Alexandre
>
>
>> On Mar 9, 2015, at 10:07 AM, Jonathan Wadin <[hidden email]> wrote:
>>
>> Hi,
>>
>> Here, it's my hive plot package. This is not finish at all. But this is a first version and that give to you one way to create hive plot.
>>
>> I will continue to work on and improve it. What will I add soon :
>>
>> - Add generic constructor and lot of possibilities (out-going and in-going dependencies)
>> - Add several examples.
>> - Create curve (directed) edges for mondrian.
>> - Add automatic colors.
>>
>>
>> One question, it's possible to curve edges with "directed" in RTGraphBuilder but this doesn't exists with RTMondrian.
>>
>> How can I get directed edges with RTMondrian ?
>>
>> Can you check it and give me some feedback ?
>>
>> My smalltalkhub project :
>>
>> http://smalltalkhub.com/#!/~JonathanWadin/HivePlot
>>
>> Cheers,
>>
>> Jonathan.
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev


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


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

Re: HivePlot package

abergel
In reply to this post by Wadin Jonathan
Hi Jonathan!

Happy to see this. 

I have had a look at your code. This is an excellent start!
Here is some feedback:

- your need a larger example. If you need to have a graph to feed your hive plot, then simply send #dependentClasses on a class hierarchy. This will likely to give you dense graphs. 

- you rely on on RTGDLayoutB. This is a deprecated class, that does not exist in the last version of Roassal. You should not need it at all. Old and dead code :-)

- You are extending RTMondrianViewBuilder. Again, this is dead code. RTMondrian has replaced it. However, I believe there is no need to extend it. If you want to have your layout in the layout builder, simply extend RTLayoutBuilder with #rectLineLayout

For people not familiar with Hive plot can have a pretty good description of it on:

Let us know when you have a new version.

Continue! Go go go!! 

Cheers,
Alexandre

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



On Mar 9, 2015, at 10:07 AM, Jonathan Wadin <[hidden email]> wrote:

Hi,

Here, it's my hive plot package. This is not finish at all. But this is a first version and that give to you one way to create hive plot.

I will continue to work on and improve it. What will I add soon :

- Add generic constructor and lot of possibilities (out-going and in-going dependencies)
- Add several examples.
- Create curve (directed) edges for mondrian.
- Add automatic colors.


One question, it's possible to curve edges with "directed" in RTGraphBuilder but this doesn't exists with RTMondrian. 

How can I get directed edges with RTMondrian ?

Can you check it and give me some feedback ?

My smalltalkhub project : 


Cheers,

Jonathan.
_______________________________________________
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: HivePlot package

stepharo
Alex

you do you tag that the class are deprecated?
You should override new to raise a deprecationWarning because jonathan lost a lot of time with this.

Stef

Le 9/3/15 18:48, Alexandre Bergel a écrit :
Hi Jonathan!

Happy to see this. 

I have had a look at your code. This is an excellent start!
Here is some feedback:

- your need a larger example. If you need to have a graph to feed your hive plot, then simply send #dependentClasses on a class hierarchy. This will likely to give you dense graphs. 

- you rely on on RTGDLayoutB. This is a deprecated class, that does not exist in the last version of Roassal. You should not need it at all. Old and dead code :-)

- You are extending RTMondrianViewBuilder. Again, this is dead code. RTMondrian has replaced it. However, I believe there is no need to extend it. If you want to have your layout in the layout builder, simply extend RTLayoutBuilder with #rectLineLayout

For people not familiar with Hive plot can have a pretty good description of it on:

Let us know when you have a new version.

Continue! Go go go!! 

Cheers,
Alexandre

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



On Mar 9, 2015, at 10:07 AM, Jonathan Wadin <[hidden email]> wrote:

Hi,

Here, it's my hive plot package. This is not finish at all. But this is a first version and that give to you one way to create hive plot.

I will continue to work on and improve it. What will I add soon :

- Add generic constructor and lot of possibilities (out-going and in-going dependencies)
- Add several examples.
- Create curve (directed) edges for mondrian.
- Add automatic colors.


One question, it's possible to curve edges with "directed" in RTGraphBuilder but this doesn't exists with RTMondrian. 

How can I get directed edges with RTMondrian ?

Can you check it and give me some feedback ?

My smalltalkhub project : 


Cheers,

Jonathan.
_______________________________________________
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: HivePlot package

abergel
I usually put the classes in a package named *Obsolete or *Old

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



On Mar 10, 2015, at 8:57 AM, stepharo <[hidden email]> wrote:

Alex

you do you tag that the class are deprecated?
You should override new to raise a deprecationWarning because jonathan lost a lot of time with this.

Stef

Le 9/3/15 18:48, Alexandre Bergel a écrit :
Hi Jonathan!

Happy to see this. 

I have had a look at your code. This is an excellent start!
Here is some feedback:

- your need a larger example. If you need to have a graph to feed your hive plot, then simply send #dependentClasses on a class hierarchy. This will likely to give you dense graphs. 

- you rely on on RTGDLayoutB. This is a deprecated class, that does not exist in the last version of Roassal. You should not need it at all. Old and dead code :-)

- You are extending RTMondrianViewBuilder. Again, this is dead code. RTMondrian has replaced it. However, I believe there is no need to extend it. If you want to have your layout in the layout builder, simply extend RTLayoutBuilder with #rectLineLayout

For people not familiar with Hive plot can have a pretty good description of it on:

Let us know when you have a new version.

Continue! Go go go!! 

Cheers,
Alexandre

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



On Mar 9, 2015, at 10:07 AM, Jonathan Wadin <[hidden email]> wrote:

Hi,

Here, it's my hive plot package. This is not finish at all. But this is a first version and that give to you one way to create hive plot.

I will continue to work on and improve it. What will I add soon :

- Add generic constructor and lot of possibilities (out-going and in-going dependencies)
- Add several examples.
- Create curve (directed) edges for mondrian.
- Add automatic colors.


One question, it's possible to curve edges with "directed" in RTGraphBuilder but this doesn't exists with RTMondrian. 

How can I get directed edges with RTMondrian ?

Can you check it and give me some feedback ?

My smalltalkhub project : 


Cheers,

Jonathan.
_______________________________________________
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: HivePlot package

Wadin Jonathan
Hi, 

Today I add generic builder for hive plot.
You have to fill map called "linesAboutClasses" with in key : RTRectLineLayout with angle of your choice, in value : arrayOfClasses to display all this classes about key.

There is an example in : HivePlotBuilder>>build.

I remove all deprecated classes I used.


Cheers,

Jonathan.


2015-03-10 15:12 GMT+01:00 Alexandre Bergel <[hidden email]>:
I usually put the classes in a package named *Obsolete or *Old

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



On Mar 10, 2015, at 8:57 AM, stepharo <[hidden email]> wrote:

Alex

you do you tag that the class are deprecated?
You should override new to raise a deprecationWarning because jonathan lost a lot of time with this.

Stef

Le 9/3/15 18:48, Alexandre Bergel a écrit :
Hi Jonathan!

Happy to see this. 

I have had a look at your code. This is an excellent start!
Here is some feedback:

- your need a larger example. If you need to have a graph to feed your hive plot, then simply send #dependentClasses on a class hierarchy. This will likely to give you dense graphs. 

- you rely on on RTGDLayoutB. This is a deprecated class, that does not exist in the last version of Roassal. You should not need it at all. Old and dead code :-)

- You are extending RTMondrianViewBuilder. Again, this is dead code. RTMondrian has replaced it. However, I believe there is no need to extend it. If you want to have your layout in the layout builder, simply extend RTLayoutBuilder with #rectLineLayout

For people not familiar with Hive plot can have a pretty good description of it on:

Let us know when you have a new version.

Continue! Go go go!! 

Cheers,
Alexandre

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



On Mar 9, 2015, at 10:07 AM, Jonathan Wadin <[hidden email]> wrote:

Hi,

Here, it's my hive plot package. This is not finish at all. But this is a first version and that give to you one way to create hive plot.

I will continue to work on and improve it. What will I add soon :

- Add generic constructor and lot of possibilities (out-going and in-going dependencies)
- Add several examples.
- Create curve (directed) edges for mondrian.
- Add automatic colors.


One question, it's possible to curve edges with "directed" in RTGraphBuilder but this doesn't exists with RTMondrian. 

How can I get directed edges with RTMondrian ?

Can you check it and give me some feedback ?

My smalltalkhub project : 


Cheers,

Jonathan.
_______________________________________________
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: HivePlot package

abergel
Hi Jonathan,

In order for us to comment on your work, best is to have some examples. 

I have tried the following example, adapted for your #buildExample :

| m r r2 s classes1 classes2 |
m := RTMondrian new.
r := RTRectLineLayout angle: 15.
r2 := RTRectLineLayout angle: 90.
s := m shape.
classes1 := RTLayout withAllSubclasses.
classes2 := RTShape withAllSubclasses.
s circle size: 10.
m nodes: classes1 , classes2.
m layout
for: [ :cls | classes1 includes: cls ] use: r;
for: [ :cls | classes2 includes: cls ] use: r2;
hivePlot.
m edges connectToAll: #dependentClasses.
m build.
^ m view

But I am not sure how to interpret the result. Maybe you can reuse some data set from the hiveplot website?

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



On Mar 16, 2015, at 12:56 PM, Jonathan Wadin <[hidden email]> wrote:

Hi, 

Today I add generic builder for hive plot.
You have to fill map called "linesAboutClasses" with in key : RTRectLineLayout with angle of your choice, in value : arrayOfClasses to display all this classes about key.

There is an example in : HivePlotBuilder>>build.

I remove all deprecated classes I used.


Cheers,

Jonathan.


2015-03-10 15:12 GMT+01:00 Alexandre Bergel <[hidden email]>:
I usually put the classes in a package named *Obsolete or *Old

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



On Mar 10, 2015, at 8:57 AM, stepharo <[hidden email]> wrote:

Alex

you do you tag that the class are deprecated?
You should override new to raise a deprecationWarning because jonathan lost a lot of time with this.

Stef

Le 9/3/15 18:48, Alexandre Bergel a écrit :
Hi Jonathan!

Happy to see this. 

I have had a look at your code. This is an excellent start!
Here is some feedback:

- your need a larger example. If you need to have a graph to feed your hive plot, then simply send #dependentClasses on a class hierarchy. This will likely to give you dense graphs. 

- you rely on on RTGDLayoutB. This is a deprecated class, that does not exist in the last version of Roassal. You should not need it at all. Old and dead code :-)

- You are extending RTMondrianViewBuilder. Again, this is dead code. RTMondrian has replaced it. However, I believe there is no need to extend it. If you want to have your layout in the layout builder, simply extend RTLayoutBuilder with #rectLineLayout

For people not familiar with Hive plot can have a pretty good description of it on:

Let us know when you have a new version.

Continue! Go go go!! 

Cheers,
Alexandre

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



On Mar 9, 2015, at 10:07 AM, Jonathan Wadin <[hidden email]> wrote:

Hi,

Here, it's my hive plot package. This is not finish at all. But this is a first version and that give to you one way to create hive plot.

I will continue to work on and improve it. What will I add soon :

- Add generic constructor and lot of possibilities (out-going and in-going dependencies)
- Add several examples.
- Create curve (directed) edges for mondrian.
- Add automatic colors.


One question, it's possible to curve edges with "directed" in RTGraphBuilder but this doesn't exists with RTMondrian. 

How can I get directed edges with RTMondrian ?

Can you check it and give me some feedback ?

My smalltalkhub project : 


Cheers,

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


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

Re: HivePlot package

abergel
Hi Jonathan,

Were you able to build an example with HivePlot? 
Maybe you can add a legend, look at the example that involves RTLegendBuilder.

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



On Mar 16, 2015, at 5:07 PM, Alexandre Bergel <[hidden email]> wrote:

Hi Jonathan,

In order for us to comment on your work, best is to have some examples. 

I have tried the following example, adapted for your #buildExample :

| m r r2 s classes1 classes2 |
m := RTMondrian new.
r := RTRectLineLayout angle: 15.
r2 := RTRectLineLayout angle: 90.
s := m shape.
classes1 := RTLayout withAllSubclasses.
classes2 := RTShape withAllSubclasses.
s circle size: 10.
m nodes: classes1 , classes2.
m layout
for: [ :cls | classes1 includes: cls ] use: r;
for: [ :cls | classes2 includes: cls ] use: r2;
hivePlot.
m edges connectToAll: #dependentClasses.
m build.
^ m view

But I am not sure how to interpret the result. Maybe you can reuse some data set from the hiveplot website?

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



On Mar 16, 2015, at 12:56 PM, Jonathan Wadin <[hidden email]> wrote:

Hi, 

Today I add generic builder for hive plot.
You have to fill map called "linesAboutClasses" with in key : RTRectLineLayout with angle of your choice, in value : arrayOfClasses to display all this classes about key.

There is an example in : HivePlotBuilder>>build.

I remove all deprecated classes I used.


Cheers,

Jonathan.


2015-03-10 15:12 GMT+01:00 Alexandre Bergel <[hidden email]>:
I usually put the classes in a package named *Obsolete or *Old

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



On Mar 10, 2015, at 8:57 AM, stepharo <[hidden email]> wrote:

Alex

you do you tag that the class are deprecated?
You should override new to raise a deprecationWarning because jonathan lost a lot of time with this.

Stef

Le 9/3/15 18:48, Alexandre Bergel a écrit :
Hi Jonathan!

Happy to see this. 

I have had a look at your code. This is an excellent start!
Here is some feedback:

- your need a larger example. If you need to have a graph to feed your hive plot, then simply send #dependentClasses on a class hierarchy. This will likely to give you dense graphs. 

- you rely on on RTGDLayoutB. This is a deprecated class, that does not exist in the last version of Roassal. You should not need it at all. Old and dead code :-)

- You are extending RTMondrianViewBuilder. Again, this is dead code. RTMondrian has replaced it. However, I believe there is no need to extend it. If you want to have your layout in the layout builder, simply extend RTLayoutBuilder with #rectLineLayout

For people not familiar with Hive plot can have a pretty good description of it on:

Let us know when you have a new version.

Continue! Go go go!! 

Cheers,
Alexandre

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



On Mar 9, 2015, at 10:07 AM, Jonathan Wadin <[hidden email]> wrote:

Hi,

Here, it's my hive plot package. This is not finish at all. But this is a first version and that give to you one way to create hive plot.

I will continue to work on and improve it. What will I add soon :

- Add generic constructor and lot of possibilities (out-going and in-going dependencies)
- Add several examples.
- Create curve (directed) edges for mondrian.
- Add automatic colors.


One question, it's possible to curve edges with "directed" in RTGraphBuilder but this doesn't exists with RTMondrian. 

How can I get directed edges with RTMondrian ?

Can you check it and give me some feedback ?

My smalltalkhub project : 


Cheers,

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



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