int width = 100;
ListIterator li = lnodes.listIterator();
boolean find = false;
while ((find != true) & (li.hasNext())) {
ILayoutNode lnode = (ILayoutNode)li.next();
Node hNode = lnode.getNode();
if (hNode.equals(node)) {
width = lnode.getWidth();
find = true;
}
}
if (levelspace[level-1]<distance + width) {
levelspace[level-1] = distance + width;