/** * Returns a boolean indicating if the given <em>mxCell</em> should be ignored as a vertex. This returns true if the cell has no connections. * * @param vertex * Object that represents the vertex to be tested. * @return Returns true if the vertex should be ignored. */ public boolean isVertexIgnored(Object vertex) { return super.isVertexIgnored(vertex) || graph.isSwimlane(vertex) || graph.getModel().getGeometry(vertex).isRelative() || graph.getConnections(vertex).length == 0; }
/** * Returns all visible edges connected to the given cell without loops. * * @param cell Cell whose connections should be returned. * @return Returns the connected edges for the given cell. */ public Object[] getConnections(Object cell) { return getConnections(cell, null); }
/** * Returns all visible edges connected to the given cell without loops. * * @param cell Cell whose connections should be returned. * @return Returns the connected edges for the given cell. */ public Object[] getConnections(Object cell) { return getConnections(cell, null); }
/** * Returns all visible edges connected to the given cell without loops. * If the optional parent argument is specified, then only child * edges of the given parent are returned. * * @param cell Cell whose connections should be returned. * @param parent Optional parent of the opposite end for a connection * to be returned. * @return Returns the connected edges for the given cell. */ public Object[] getConnections(Object cell, Object parent) { return getConnections(cell, parent, false); }
/** * Returns all visible edges connected to the given cell without loops. * If the optional parent argument is specified, then only child * edges of the given parent are returned. * * @param cell Cell whose connections should be returned. * @param parent Optional parent of the opposite end for a connection * to be returned. * @return Returns the connected edges for the given cell. */ public Object[] getConnections(Object cell, Object parent) { return getConnections(cell, parent, false); }
/** * Returns a boolean indicating if the given <mxCell> should be ignored as a * vertex. This returns true if the cell has no connections. * * @param vertex Object that represents the vertex to be tested. * @return Returns true if the vertex should be ignored. */ public boolean isVertexIgnored(Object vertex) { return super.isVertexIgnored(vertex) || graph.getConnections(vertex).length == 0; }
/** * Returns a boolean indicating if the given <mxCell> should be ignored as a * vertex. This returns true if the cell has no connections. * * @param vertex Object that represents the vertex to be tested. * @return Returns true if the vertex should be ignored. */ public boolean isVertexIgnored(Object vertex) { return super.isVertexIgnored(vertex) || graph.getConnections(vertex).length == 0; }
/** * Returns a boolean indicating if the given <mxCell> should be ignored as a * vertex. This returns true if the cell has no connections. * * @param vertex Object that represents the vertex to be tested. * @return Returns true if the vertex should be ignored. */ public boolean isVertexIgnored(Object vertex) { return super.isVertexIgnored(vertex) || graph.getConnections(vertex).length == 0; }
/** * Returns a boolean indicating if the given <mxCell> should be ignored as a * vertex. This returns true if the cell has no connections. * * @param vertex Object that represents the vertex to be tested. * @return Returns true if the vertex should be ignored. */ public boolean isVertexIgnored(Object vertex) { return super.isVertexIgnored(vertex) || graph.getConnections(vertex).length == 0; }
Object[] conns = getConnections(cell, (isolate) ? parent : null); int fanOut = 0;
/** * Returns a boolean indicating if the given <mxCell> should be ignored as a vertex. This returns true if the cell has no connections. * * @param vertex * Object that represents the vertex to be tested. * @return Returns true if the vertex should be ignored. */ @Override public boolean isVertexIgnored(Object vertex) { return super.isVertexIgnored(vertex) || graph.isSwimlane(vertex) || graph.getModel().getGeometry(vertex).isRelative() || graph.getConnections(vertex).length == 0; }
Object[] conns = getConnections(cell, (isolate) ? parent : null); int fanOut = 0;
/** * Returns a boolean indicating if the given <mxCell> should be ignored as a vertex. This returns true if the cell * has no connections. * * @param vertex * Object that represents the vertex to be tested. * @return Returns true if the vertex should be ignored. */ public boolean isVertexIgnored(Object vertex) { return super.isVertexIgnored(vertex) || graph.isSwimlane(vertex) || graph.getModel().getGeometry(vertex).isRelative() || graph.getConnections(vertex).length == 0; }
Object[] conns = graph.getConnections(cell, parent, true); int fanOut = 0; int fanIn = 0;
Object[] conns = graph.getConnections(cell, parent, true); int fanOut = 0; int fanIn = 0;
.getConnections(u); Object[] opp = graph.getOpposites(e, u);
.getConnections(u); Object[] opp = graph.getOpposites(e, u);
Object[] edges = getConnections(cells[i]);
Object[] edges = getConnections(cells[i]);