It appears that the areas of the voronoi cells do not correspond to the $AREA set in ones network.
The same network using the regular treemap algorithm in JIT works perfectly fine and generates correct areas.
A small example network that works fine in treemap, but fails with voronoi treemap is:
Hi,
It appears that the areas of the voronoi cells do not correspond to the $AREA set in ones network. The same network using the regular treemap algorithm in JIT works perfectly fine and generates correct areas.
A small example network that works fine in treemap, but fails with voronoi treemap is:
var json = { "children": [ { "children": [ { "id": "achild1", "name": "childish name", "data": { "$area": 1.0 } }, { "id": "achild2", "name": "childish name2", "data": { "$area": 5.0 } } ], "data": { "$area": 10.0 }, "id": "shallow_id", "name": "shallow_name" }, { "children": [], "data": { "$area": 1.0 }, "id": "medium_id", "name": "medium_name" }, { "children": [], "data": { "$area": 1.0 }, "id": "medium_id2", "name": "medium_name2" }, { "children": [], "data": { "$area": 1.0 }, "id": "medium_id3", "name": "medium_name3" }, { "children": [], "data": { "$area": 1.0 }, "id": "medium_id4", "name": "medium_name4" }, { "children": [], "data": { "$area": 1.0 }, "id": "medium_id5", "name": "medium_name" }, { "children": [], "data": { "$area": 1.0 }, "id": "medium_id62", "name": "medium_name2" }, { "children": [], "data": { "$area": 1.0 }, "id": "medium_id73", "name": "medium_name3" }, { "children": [], "data": { "$area": 1.0 }, "id": "medium_id8", "name": "medium_name" }, { "children": [], "data": { "$area": 1.0 }, "id": "medium_id92", "name": "medium_name2" }, { "children": [], "data": { "$area": 1.0 }, "id": "medium_id03", "name": "medium_name3" } ], "data": {}, "id": "root", "name": "dontshow" };