EditorFigNode editorDestFig = getDestination(edge, fig.getLayer());
ModuleFigNode editorDestFig = getDestination(edge, fig.getLayer());
    private void arrangeRoot(EditorFigNode fig, Rectangle rect) {        // Child Rect is the portion of rect which will be used        // to place the (remaining) children.        // UsedChildRect is the portion of        // the rect that has already be used to place children.        Rectangle childRect = getChildRect(fig, rect);        Rectangle usedChildRect = new Rectangle(childRect.x, childRect.y, 0,                childRect.height);        // For each outbound edge...        Vector edges = getOutboundEdges(fig);        Enumeration e = edges.elements();        while (e.hasMoreElements()) {            NetEdge edge = (NetEdge) e.nextElement();            NetPort edgeSrc = (NetPort) edge.getSourcePort();            EditorFigNode editorDestFig = getDestination(edge, fig.getLayer());            // Arrange the child.            Rectangle thisChildRect = arrange(editorDestFig, childRect);            // Update UsedChildRect and ChildRect to reflect            // the space taken by this child.            usedChildRect.width = thisChildRect.x + thisChildRect.width;            childRect.width -= thisChildRect.width + HorizontalSep;            childRect.x += thisChildRect.width + HorizontalSep;        }    }