本文整理了Java中com.mxgraph.view.mxGraph.getEdges()
方法的一些代码示例,展示了mxGraph.getEdges()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。mxGraph.getEdges()
方法的具体详情如下:
包路径:com.mxgraph.view.mxGraph
类名称:mxGraph
方法名:getEdges
[英]Returns all visible edges connected to the given cell including loops.
[中]返回连接到给定单元格的所有可见边,包括循环。
代码示例来源:origin: Activiti/Activiti
Object[] out = graph.getEdges(cell, parent, invert, !invert, false);
代码示例来源:origin: org.tinyjee.jgraphx/jgraphx
/**
* Returns all visible edges connected to the given cell including loops.
*
* @param cell Cell whose edges should be returned.
* @return Returns the edges of the given cell.
*/
public Object[] getEdges(Object cell)
{
return getEdges(cell, null);
}
代码示例来源:origin: com.github.vlsi.mxgraph/jgraphx
/**
* Returns all visible edges connected to the given cell including loops.
*
* @param cell Cell whose edges should be returned.
* @param parent Optional parent of the opposite end for an edge
* to be returned.
* @return Returns the edges of the given cell.
*/
public Object[] getEdges(Object cell, Object parent)
{
return getEdges(cell, parent, true, true, true);
}
代码示例来源:origin: org.tinyjee.jgraphx/jgraphx
/**
* Returns all visible edges connected to the given cell including loops.
*
* @param cell Cell whose edges should be returned.
* @param parent Optional parent of the opposite end for an edge
* to be returned.
* @return Returns the edges of the given cell.
*/
public Object[] getEdges(Object cell, Object parent)
{
return getEdges(cell, parent, true, true, true);
}
代码示例来源:origin: com.github.vlsi.mxgraph/jgraphx
/**
* Returns all visible edges connected to the given cell including loops.
*
* @param cell Cell whose edges should be returned.
* @return Returns the edges of the given cell.
*/
public Object[] getEdges(Object cell)
{
return getEdges(cell, null);
}
代码示例来源:origin: com.github.vlsi.mxgraph/jgraphx
/**
* Returns the visible outgoing edges for the given cell. If the optional
* parent argument is specified, then only child edges of the given parent
* are returned.
*
* @param cell Cell whose outgoing edges should be returned.
* @param parent Optional parent of the opposite end for an edge
* to be returned.
* @return Returns the outgoing edges of the given cell.
*/
public Object[] getOutgoingEdges(Object cell, Object parent)
{
return getEdges(cell, parent, false, true, false);
}
代码示例来源:origin: com.github.vlsi.mxgraph/jgraphx
/**
* Returns the visible incoming edges for the given cell. If the optional
* parent argument is specified, then only child edges of the given parent
* are returned.
*
* @param cell Cell whose incoming edges should be returned.
* @param parent Optional parent of the opposite end for an edge
* to be returned.
* @return Returns the incoming edges of the given cell.
*/
public Object[] getIncomingEdges(Object cell, Object parent)
{
return getEdges(cell, parent, true, false, 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, boolean recurse)
{
return getEdges(cell, parent, true, true, false, recurse);
}
代码示例来源:origin: org.tinyjee.jgraphx/jgraphx
/**
* Returns the visible incoming edges for the given cell. If the optional
* parent argument is specified, then only child edges of the given parent
* are returned.
*
* @param cell Cell whose incoming edges should be returned.
* @param parent Optional parent of the opposite end for an edge
* to be returned.
* @return Returns the incoming edges of the given cell.
*/
public Object[] getIncomingEdges(Object cell, Object parent)
{
return getEdges(cell, parent, true, false, false);
}
代码示例来源:origin: org.tinyjee.jgraphx/jgraphx
/**
* Returns the visible outgoing edges for the given cell. If the optional
* parent argument is specified, then only child edges of the given parent
* are returned.
*
* @param cell Cell whose outgoing edges should be returned.
* @param parent Optional parent of the opposite end for an edge
* to be returned.
* @return Returns the outgoing edges of the given cell.
*/
public Object[] getOutgoingEdges(Object cell, Object parent)
{
return getEdges(cell, parent, false, true, false);
}
代码示例来源: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, boolean recurse)
{
return getEdges(cell, parent, true, true, false, recurse);
}
代码示例来源:origin: org.tinyjee.jgraphx/jgraphx
/**
* Returns the incoming and/or outgoing edges for the given cell.
* If the optional parent argument is specified, then only edges are returned
* where the opposite is in the given parent cell.
*
* @param cell Cell whose edges should be returned.
* @param parent Optional parent. If specified the opposite end of any edge
* must be a direct child of that parent in order for the edge to be returned.
* @param incoming Specifies if incoming edges should be included in the
* result.
* @param outgoing Specifies if outgoing edges should be included in the
* result.
* @param includeLoops Specifies if loops should be included in the result.
* @return Returns the edges connected to the given cell.
*/
public Object[] getEdges(Object cell, Object parent, boolean incoming,
boolean outgoing, boolean includeLoops)
{
return getEdges(cell, parent, incoming, outgoing, includeLoops, false);
}
代码示例来源:origin: com.github.vlsi.mxgraph/jgraphx
/**
* Returns the incoming and/or outgoing edges for the given cell.
* If the optional parent argument is specified, then only edges are returned
* where the opposite is in the given parent cell.
*
* @param cell Cell whose edges should be returned.
* @param parent Optional parent. If specified the opposite end of any edge
* must be a direct child of that parent in order for the edge to be returned.
* @param incoming Specifies if incoming edges should be included in the
* result.
* @param outgoing Specifies if outgoing edges should be included in the
* result.
* @param includeLoops Specifies if loops should be included in the result.
* @return Returns the edges connected to the given cell.
*/
public Object[] getEdges(Object cell, Object parent, boolean incoming,
boolean outgoing, boolean includeLoops)
{
return getEdges(cell, parent, incoming, outgoing, includeLoops, false);
}
代码示例来源:origin: org.tinyjee.jgraphx/jgraphx
Arrays.asList(getEdges(cell)));
tmp.addAll(Arrays.asList(getEdges(edge)));
代码示例来源:origin: com.github.vlsi.mxgraph/jgraphx
return graph.getEdges(cell, parent, incoming, outgoing, includeLoops, recurse);
Object[] edges = graph.getEdges(cell, parent, incoming, outgoing, includeLoops, recurse);
List<Object> result = new ArrayList<Object>(edges.length);
代码示例来源:origin: org.tinyjee.jgraphx/jgraphx
return graph.getEdges(cell, parent, incoming, outgoing, includeLoops, recurse);
Object[] edges = graph.getEdges(cell, parent, incoming, outgoing, includeLoops, recurse);
List<Object> result = new ArrayList<Object>(edges.length);
代码示例来源:origin: org.tinyjee.jgraphx/jgraphx
boolean directed)
Object[] edges = getEdges(source);
List<Object> result = new ArrayList<Object>(edges.length);
代码示例来源:origin: com.github.vlsi.mxgraph/jgraphx
boolean directed)
Object[] edges = getEdges(source);
List<Object> result = new ArrayList<Object>(edges.length);
代码示例来源:origin: org.flowable/flowable-bpmn-layout
Object[] out = graph.getEdges(cell, parent, invert, !invert, false);
代码示例来源:origin: com.bbossgroups.activiti/activiti-bpmn-layout
Object[] out = graph.getEdges(cell, parent, invert, !invert, false);
内容来源于网络,如有侵权,请联系作者删除!