Search results

Static Functions

Root static functions of Diagram Component

bezierPoints

Get the intermediate bezier curve for point over connector

Returns PointModel

getBezierBounds

Get the bezier curve bounds.

Returns Rect

getBezierPoints

Get the bezier points if control points are not given.

Returns PointModel

getDirection

Get the direction of the control points while the bezier is connected to the node

Returns string

getFunction

Get function

Returns Function

getObjectType

Get the object as Node | Connector

Parameter Type Description
obj Object

Returns Object

removeElement

removes the element from dom

Returns void

getPolygonPath

Used to find the path for polygon shapes

Returns string

getRectanglePath

Used to find the path for rounded rect

Returns string