In order for us to comment on your work, best is to have some examples.
| 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?
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> On Mar 16, 2015, at 12:56 PM, Jonathan Wadin
wadin.jonathan@gmail.com 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 <alexandre.bergel@me.com
mailto:alexandre.bergel@me.com>:
> I usually put the classes in a package named *Obsolete or *Old
>
> Alexandre
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel
http://www.bergel.eu http://www.bergel.eu/
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>> On Mar 10, 2015, at 8:57 AM, stepharo <stepharo@free.fr
mailto:stepharo@free.fr> 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:
>>>
http://www.hiveplot.net http://www.hiveplot.net/
>>>
>>> Let us know when you have a new version.
>>>
>>> Continue! Go go go!!
>>>
>>> Cheers,
>>> Alexandre
>>>
>>> --
>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>> Alexandre Bergel
http://www.bergel.eu http://www.bergel.eu/
>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>
>>>
>>>
>>>> On Mar 9, 2015, at 10:07 AM, Jonathan Wadin <wadin.jonathan@gmail.com
mailto:wadin.jonathan@gmail.com> 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 http://smalltalkhub.com/#%21/%7EJonathanWadin/HivePlot
>>>>
>>>> Cheers,
>>>>
>>>> Jonathan.
>>>> _______________________________________________
>>>> Moose-dev mailing list
>>>> Moose-dev@iam.unibe.ch
mailto:Moose-dev@iam.unibe.ch
>>>>
https://www.iam.unibe.ch/mailman/listinfo/moose-dev https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>
>>>
>>>
>>> _______________________________________________
>>> Moose-dev mailing list
>>> Moose-dev@iam.unibe.ch
mailto:Moose-dev@iam.unibe.ch
>>>
https://www.iam.unibe.ch/mailman/listinfo/moose-dev https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>> _______________________________________________
>> Moose-dev mailing list
>> Moose-dev@iam.unibe.ch
mailto:Moose-dev@iam.unibe.ch
>>
https://www.iam.unibe.ch/mailman/listinfo/moose-dev https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
> _______________________________________________
> Moose-dev mailing list
> Moose-dev@iam.unibe.ch
mailto:Moose-dev@iam.unibe.ch
>
https://www.iam.unibe.ch/mailman/listinfo/moose-dev https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
> _______________________________________________
> Moose-dev mailing list
> Moose-dev@iam.unibe.ch
>
https://www.iam.unibe.ch/mailman/listinfo/moose-dev