Mondrian TreeMap Layout

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

Mondrian TreeMap Layout

Dennis Schenk
Hi all,

I'm playing around with Mondrian and want to use a treemap layout of a graph.

I didn't find any examples and tried some things, but could not get the layout to work.

At the moment I have something like this:

...
view nodes: self nodes.
view edges: self nodes 
      from: [ :each | each ] 
      toAll: [ :each | each children ]. 
view layout: MOTreeMapLayout new.

Which produces nothing that makes sense.

Could anyone give me some pointers on how to use the MOTreeMapLayout correctly?

Thanks,
Dennis

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

Re: Mondrian TreeMap Layout

abergel
Currently, the tree map layout is not supported in Mondrian. The class you see is no more than a mere legacy code.

Nicolás, one student I had at the University of Chile, has worked on a tree map. Unfortunately, a bit of work is still needed to make it usable. It would be cool to see this happen.

Cheers,
Alexandre


On 8 Feb 2012, at 12:47, Dennis Schenk wrote:

> Hi all,
>
> I'm playing around with Mondrian and want to use a treemap layout of a graph.
>
> I didn't find any examples and tried some things, but could not get the layout to work.
>
> At the moment I have something like this:
>
> ...
> view nodes: self nodes.
> view edges: self nodes
>       from: [ :each | each ]
>       toAll: [ :each | each children ].
> view layout: MOTreeMapLayout new.
>
> Which produces nothing that makes sense.
>
> Could anyone give me some pointers on how to use the MOTreeMapLayout correctly?
>
> Thanks,
> Dennis
> _______________________________________________
> 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: Mondrian TreeMap Layout

Dennis Schenk
Ah, it would be great then if I could get access to the work he has done so far and work with him together or finish his work. I will definitely need a treemap for my current project, so that would be cool.

Cheers,
Dennis

2012/2/8 Alexandre Bergel <[hidden email]>
Currently, the tree map layout is not supported in Mondrian. The class you see is no more than a mere legacy code.

Nicolás, one student I had at the University of Chile, has worked on a tree map. Unfortunately, a bit of work is still needed to make it usable. It would be cool to see this happen.

Cheers,
Alexandre


On 8 Feb 2012, at 12:47, Dennis Schenk wrote:

> Hi all,
>
> I'm playing around with Mondrian and want to use a treemap layout of a graph.
>
> I didn't find any examples and tried some things, but could not get the layout to work.
>
> At the moment I have something like this:
>
> ...
> view nodes: self nodes.
> view edges: self nodes
>       from: [ :each | each ]
>       toAll: [ :each | each children ].
> view layout: MOTreeMapLayout new.
>
> Which produces nothing that makes sense.
>
> Could anyone give me some pointers on how to use the MOTreeMapLayout correctly?
>
> Thanks,
> Dennis
> _______________________________________________
> 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: Mondrian TreeMap Layout

abergel
I am not sure whether Nicolás is in holidays or not (February is the holiday month in Chile).
His code is available on:
http://ss3.gemstone.com/ss/CC6403-2011.html

Check TreeMap-NicolasPinilla.8.mcz

Let me know how it goes.

Cheers,
Alexandre

On 9 Feb 2012, at 05:03, Dennis Schenk wrote:

> Ah, it would be great then if I could get access to the work he has done so far and work with him together or finish his work. I will definitely need a treemap for my current project, so that would be cool.
>
> Cheers,
> Dennis
>
> 2012/2/8 Alexandre Bergel <[hidden email]>
> Currently, the tree map layout is not supported in Mondrian. The class you see is no more than a mere legacy code.
>
> Nicolás, one student I had at the University of Chile, has worked on a tree map. Unfortunately, a bit of work is still needed to make it usable. It would be cool to see this happen.
>
> Cheers,
> Alexandre
>
>
> On 8 Feb 2012, at 12:47, Dennis Schenk wrote:
>
> > Hi all,
> >
> > I'm playing around with Mondrian and want to use a treemap layout of a graph.
> >
> > I didn't find any examples and tried some things, but could not get the layout to work.
> >
> > At the moment I have something like this:
> >
> > ...
> > view nodes: self nodes.
> > view edges: self nodes
> >       from: [ :each | each ]
> >       toAll: [ :each | each children ].
> > view layout: MOTreeMapLayout new.
> >
> > Which produces nothing that makes sense.
> >
> > Could anyone give me some pointers on how to use the MOTreeMapLayout correctly?
> >
> > Thanks,
> > Dennis
> > _______________________________________________
> > 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