treemaps
in
Programming Questions
•
2 years ago
I saw this in a topic (old forum):
MapLayout algorithm = new SquarifiedLayout();
Treemap map = new Treemap(mapData, 0, 0, width, height);
map.setLayout(algorithm);
map.draw();
Treemap map = new Treemap(mapData, 0, 0, width, height);
map.setLayout(algorithm);
map.draw();
they guy who posted never had it to work neither someone else, but it looks close to how it could be done.
this does the job:
but then far more complicated.
I thought i needed to use a treemap but i just realize i probably need something else.
I just post this out of intrest in the hope of ever seing the short version for this working cause some day i find myself working with treemaps.
1