constructor
a reference to the flow component
The horizontal position of the node to create.
The vertical position of the node to create.
The width of the node to create.
The height of the node to create.
Optional
text: stringA string to be displayed in the node to create.
The method used to draw the contentItem shape if the shapeFamily property is 'other'
null
The method used to fill the contentItem shape.
null
The color used to fill the item
A reference of the AddFlow component containing this item
The font used to display the text of the item
The color used to create a gradient with the fillStyle color
The image displayed in the contentItem
Returns/sets the margins of the image in the contentItem.
Used to specify the position of the image in the contentItem. leftTop leftMiddle leftBottom rightTop rightMiddle rightBottom centerTop centerMiddle centerBottom
centerMiddle
Determines if a context handle is displayed when the node is selected
true
Determines whether the item is excluded by a layout algorithm
false
Determines whether the item is hidden
false
Determines whether the item can be hit tested
true
Determines whether the node accept incoming links
true
Determines whether the node can be vertically moved or not
true
Determines whether the item is selectable by clicking on it with the mouse or unselectable (readonly or inactive)
true
Determines whether a shadow is displayed for the item
false
Determines whether the contentItem can be moved horizontally moved or not
true
Determines whether the node can be resized horizontally resized or not.
true
Determines whether the contentItem can be moved vertically
true
Determines whether the node can be resized vertically resized or not.
true
The thickness of the lines used to draw the item
1
The opacity of the item
1
Sets or gets the list of node pins
null
The set of points defining the contentItem shape if if the shapeFamily property is 'polygon'.
null
ellipse, rectangle, polygon, other
The color used to draw the item
Sets or returns a tag associated with the item.
null
Sets or returns the text associated with the item. If the item is a node, the text is displayed inside the node. It is a multiline display. The text is wrapped automatically inside the node. Linefeed and carriage return characters are allowed.
The color used to display the text of the item
The height of a line of the text of the contentItem
Returns/sets the margins of the text in the contentItem.
Used to specify the position of the text in the contentItem. leftTop leftMiddle leftBottom rightTop rightMiddle rightBottom centerTop centerMiddle centerBottom
centerMiddle
Returns/sets a flag indicating if the item is selected or not.
Generated using TypeDoc
Represents a Node object.
Implements
Implements