Grid sorter first approach

This commit is contained in:
Gonzalo Bellver
2012-01-02 17:10:14 -03:00
parent 14cb5b586e
commit 93e035bbbb
6 changed files with 113 additions and 11 deletions

View File

@@ -132,7 +132,7 @@ mindplot.nlayout.SymetricSorder = new Class({
for (var i = 0; i < heights.length; i++) {
ysum = ysum - heights[i].height;
var yOffset = ysum + heights[i].height/2;
var yOffset = ysum + heights[i].height/2;
var xOffset = node.getSize().width + mindplot.nlayout.SymetricSorder.INTERNODE_HORIZONTAL_PADDING;
$assert(!isNaN(xOffset), "xOffset can not be null");