Click or drag to resize

mxGraphInsertVertex Method (Object, String, Object, Double, Double, Double, Double, String, Boolean)

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Adds a new vertex into the given parent using value as the user object and the given coordinates as the geometry of the new vertex. 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 InsertVertex(
	Object parent,
	string id,
	Object value,
	double x,
	double y,
	double width,
	double height,
	string style,
	bool relative
)
Request Example View Source

Parameters

parent
Type: SystemObject
Cell that specifies the parent of the new vertex.
id
Type: SystemString
Optional string that defines the Id of the new vertex.
value
Type: SystemObject
Object to be used as the user object.
x
Type: SystemDouble
Integer that defines the x coordinate of the vertex.
y
Type: SystemDouble
Integer that defines the y coordinate of the vertex.
width
Type: SystemDouble
Integer that defines the width of the vertex.
height
Type: SystemDouble
Integer that defines the height of the vertex.
style
Type: SystemString
Optional string that defines the cell style.
relative
Type: SystemBoolean

Return Value

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