NetPort edgeSrc = (NetPort) edge.getSourcePort();
NetPort edgeSrc = edge.getSourcePort();
    private Vector getOutboundEdges(FigModuleNode fig) {        ModuleNode source = (ModuleNode) fig.getOwner();        Vector outboundEdges = new Vector();        EditorPort port = (EditorPort) source.getPort();        Vector edges = port.getEdges();        Enumeration e = edges.elements();        while (e.hasMoreElements()) {            NetEdge edge = (NetEdge) e.nextElement();            NetPort edgeSrc = (NetPort) edge.getSourcePort();            if (port == edgeSrc) {                /*                 * This edge must lead from the selected node away                 */                outboundEdges.add(edge);            }        }        return outboundEdges;    }