Click or drag to resize

mxGraphModelGetOpposites Method

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Returns all opposite vertices wrt terminal for the given edges, only$ returning sources and/or targets as specified. The result is returned as an array of mxCells.

Namespace:  imbSCI.Graph.MXGraph.model
Assembly:  imbSCI.Graph (in imbSCI.Graph.dll) Version: 0.3.70.
Syntax
C#
public static Object[] GetOpposites(
	mxIGraphModel model,
	Object[] edges,
	Object terminal,
	bool sources,
	bool targets
)
Request Example View Source

Parameters

model
Type: imbSCI.Graph.MXGraph.modelmxIGraphModel
Model that contains the graph.
edges
Type: SystemObject
Array of edges to be examined.
terminal
Type: SystemObject
Cell that specifies the known end of the edges.
sources
Type: SystemBoolean
Boolean that specifies if source terminals should be contained in the result. Default is true.
targets
Type: SystemBoolean
Boolean that specifies if target terminals should be contained in the result. Default is true.

Return Value

Type: Object
Returns the array of opposite terminals for the given edges.
See Also