本文整理了Java中com.mxgraph.view.mxGraph.getConnections()
方法的一些代码示例,展示了mxGraph.getConnections()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。mxGraph.getConnections()
方法的具体详情如下:
包路径:com.mxgraph.view.mxGraph
类名称:mxGraph
方法名:getConnections
[英]Returns all visible edges connected to the given cell without loops.
[中]返回连接到给定单元格的所有可见边,不带循环。
代码示例来源:origin: Activiti/Activiti
/**
* 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;
}
代码示例来源:origin: org.tinyjee.jgraphx/jgraphx
/**
* 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);
}
代码示例来源:origin: com.github.vlsi.mxgraph/jgraphx
/**
* 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);
}
代码示例来源:origin: com.github.vlsi.mxgraph/jgraphx
/**
* 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);
}
代码示例来源:origin: org.tinyjee.jgraphx/jgraphx
/**
* 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);
}
代码示例来源:origin: org.tinyjee.jgraphx/jgraphx
/**
* 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;
}
代码示例来源:origin: com.github.vlsi.mxgraph/jgraphx
/**
* 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;
}
代码示例来源:origin: org.tinyjee.jgraphx/jgraphx
/**
* 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;
}
代码示例来源:origin: com.github.vlsi.mxgraph/jgraphx
/**
* 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;
}
代码示例来源:origin: com.github.vlsi.mxgraph/jgraphx
Object[] conns = getConnections(cell, (isolate) ? parent
: null);
int fanOut = 0;
代码示例来源:origin: org.flowable/flowable-bpmn-layout
/**
* 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;
}
代码示例来源:origin: org.tinyjee.jgraphx/jgraphx
Object[] conns = getConnections(cell, (isolate) ? parent
: null);
int fanOut = 0;
代码示例来源:origin: com.bbossgroups.activiti/activiti-bpmn-layout
/**
* 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;
}
代码示例来源:origin: com.github.vlsi.mxgraph/jgraphx
Object[] conns = graph.getConnections(cell, parent, true);
int fanOut = 0;
int fanIn = 0;
代码示例来源:origin: org.tinyjee.jgraphx/jgraphx
Object[] conns = graph.getConnections(cell, parent, true);
int fanOut = 0;
int fanIn = 0;
代码示例来源:origin: com.github.vlsi.mxgraph/jgraphx
.getConnections(u);
Object[] opp = graph.getOpposites(e, u);
代码示例来源:origin: org.tinyjee.jgraphx/jgraphx
.getConnections(u);
Object[] opp = graph.getOpposites(e, u);
代码示例来源:origin: org.tinyjee.jgraphx/jgraphx
.getConnections(obj);
代码示例来源:origin: org.tinyjee.jgraphx/jgraphx
Object[] edges = getConnections(cells[i]);
代码示例来源:origin: com.github.vlsi.mxgraph/jgraphx
Object[] edges = getConnections(cells[i]);
内容来源于网络,如有侵权,请联系作者删除!