Click or drag to resize

mxGraphInsertEdge Method (Object, String, Object, Object, Object, String)

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Adds a new edge into the given parent using value as the user object and the given source and target as the terminals of the new edge. The Id and style are used for the respective properties of the new cell, which is returned.

Namespace:  imbSCI.Graph.MXGraph.view
Assembly:  imbSCI.Graph (in imbSCI.Graph.dll) Version: 0.3.70.
Syntax
C#
public Object InsertEdge(
	Object parent,
	string id,
	Object value,
	Object source,
	Object target,
	string style
)
Request Example View Source

Parameters

parent
Type: SystemObject
Cell that specifies the parent of the new edge.
id
Type: SystemString
Optional string that defines the Id of the new edge.
value
Type: SystemObject
Object to be used as the user object.
source
Type: SystemObject
Cell that defines the source of the edge.
target
Type: SystemObject
Cell that defines the target of the edge.
style
Type: SystemString
Optional string that defines the cell style.

Return Value

Type: Object
Returns the new edge that has been inserted.
See Also