}
private static int limit(int min, int value, int max) {
return Math.min(Math.max(min, value), max);
<BUG>}
}

</BUG>

}
public void constrainNodes() {
for (Widget node : nodes) {
Element element = node.getElement();
reposition(node, element.getOffsetLeft(), element.getOffsetTop());
}
