private void calcSizeOfLevels(final TreeNode node, final int level) {
        double oldSize;
        if (sizeOfLevel.size() <= level) {
            sizeOfLevel.add(Double.valueOf(0));
            oldSize = 0;
        } else {
            oldSize = sizeOfLevel.get(level);
        }

        final double size = getNodeThickness(node);
        if (oldSize < size) {
            sizeOfLevel.set(level, size);
        }

        if (!tree.isLeaf(node)) {
            for (final TreeNode child : tree.getChildren(node)) {
                calcSizeOfLevels(child, level + 1);
            }
        }
    }
Returns the Configuration used by this {@link AbegoTreeLayout}.
stroom-core-client-widget/src/main/java/stroom/widget/htree/client/treelayout/AbegoTreeLayout.java