public int getEdgeCount(Object cell) { return (cell instanceof mxICell) ? ((mxICell) cell).getEdgeCount() : 0; }
public int getEdgeCount(Object cell) { return (cell instanceof mxICell) ? ((mxICell) cell).getEdgeCount() : 0; }
public static Set<mxICell> getTargetCells(mxICell input) { if(input == null) return Collections.emptySet(); int count = input.getEdgeCount(); Set<mxICell> result = new HashSet<mxICell>(count, 1); for(int i = 0; i < count; i++) { mxICell tmp = input.getEdgeAt(i); if(tmp instanceof mxCell && ((mxCell)tmp).getSource() == input) { result.add(tmp); } } return result; }
for (int ei = 0; ei < child.getEdgeCount(); ++ei)
for (int ei = 0; ei < child.getEdgeCount(); ++ei)
for (int ei = 0; ei < child.getEdgeCount(); ++ei)
for (int i = 0; i < vsrc.getChildCount(); ++i) if (vsrc.getChildAt(i) instanceof VOutParameter && vsrc.getChildAt(i).getEdgeCount() == 0) for (int i = 0; i < vtgt.getChildCount(); ++i) if (vtgt.getChildAt(i) instanceof VInParameter && vtgt.getChildAt(i).getEdgeCount() == 0)