Click or drag to resize

mxGraphGetEdges Method (Object, Object, Boolean, Boolean, Boolean, Boolean)

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
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. If at least one of incoming or outgoing is true, then loops are ignored, if both are false, then all edges connected to the given cell are returned including loops.

Namespace:  imbSCI.Graph.MXGraph.view
Assembly:  imbSCI.Graph (in imbSCI.Graph.dll) Version: 0.3.70.
Syntax
C#
public Object[] GetEdges(
	Object cell,
	Object parent,
	bool incoming,
	bool outgoing,
	bool includeLoops,
	bool recurse
)
Request Example View Source

Parameters

cell
Type: SystemObject
Cell whose edges should be returned.
parent
Type: SystemObject
Optional parent of the opposite end for an edge to be returned.
incoming
Type: SystemBoolean
Specifies if incoming edges should be included in the result.
outgoing
Type: SystemBoolean
Specifies if outgoing edges should be included in the result.
includeLoops
Type: SystemBoolean
Specifies if loops should be included in the result.
recurse
Type: SystemBoolean
Boolean the specifies if the parent specified only need be an ancestral parent, true, or the direct parent, false.

Return Value

Type: Object
Returns the edges connected to the given cell.
See Also