public void removeFromTerminal(boolean isSource) { mxICell terminal = getTerminal(isSource); if (terminal != null) { terminal.removeEdge(this, isSource); } }
public void removeFromTerminal(boolean isSource) { mxICell terminal = getTerminal(isSource); if (terminal != null) { terminal.removeEdge(this, isSource); } }
/** * Inner helper function to update the terminal of the edge using * mxCell.insertEdge and return the previous terminal. */ protected Object terminalForCellChanged(Object edge, Object terminal, boolean isSource) { mxICell previous = (mxICell) getTerminal(edge, isSource); if (terminal != null) { ((mxICell) terminal).insertEdge((mxICell) edge, isSource); } else if (previous != null) { previous.removeEdge((mxICell) edge, isSource); } return previous; }
/** * Inner helper function to update the terminal of the edge using * mxCell.insertEdge and return the previous terminal. */ protected Object terminalForCellChanged(Object edge, Object terminal, boolean isSource) { mxICell previous = (mxICell) getTerminal(edge, isSource); if (terminal != null) { ((mxICell) terminal).insertEdge((mxICell) edge, isSource); } else if (previous != null) { previous.removeEdge((mxICell) edge, isSource); } return previous; }
((mxICell) src).removeEdge(cell, true); ((mxICell) trg).removeEdge(cell, false);
((mxICell) src).removeEdge(cell, true); ((mxICell) trg).removeEdge(cell, false);
((mxICell) src).removeEdge(cell, true); ((mxICell) trg).removeEdge(cell, false);
cell.getTerminal(false).removeEdge(cell, false);
cell.getTerminal(false).removeEdge(cell, false);