Canvas module is used to define a plane(canvas) and to arrange the children based on margin
Gets the size that the element will be rendered
Gets/Sets the boundary of the element
Gets/Sets the collection of child elements
Sets/Gets the allowed direction for connections to the port
number
Set the corner of the element
Gets/Sets the corners of the rectangular bounds
string
Defines the description of the diagram element
Gets the minimum size that is required by the element
Sets/Gets the mirror image of diagram element in both horizontal and vertical directions
number
Sets/Gets the height of the element
Sets/Gets how the element has to be horizontally arranged with respect to its immediate parent
string
Sets the unique id of the element
boolean
check whether the element is rect or not
boolean
Gets/Set the boolean value for the element
number
Sets/Gets the maximum height of the element
number
Sets/Gets the maximum width of the element
number
Sets/Gets the minimum height of the element
number
Sets/Gets the minimum width of the element
number
Sets/Gets the x-coordinate of the element
number
Sets/Gets the y-coordinate of the element
Gets/Sets the space between the container and its immediate children
string
Gets the parent id for the element
number
Gets the rotate angle that is set to the immediate parent of the element
Sets whether the element has to be aligned with respect to a point/with respect to its immediate parent
number
Sets/Gets the rotate angle of the element
Defines the appearance of the shadow of the element
string
Defines the shape of the diagram element
boolean
Defines whether the element has to be measured or not
Sets whether the element has to be transformed based on its parent or not
Sets/Gets how the element has to be vertically arranged with respect to its immediate parent
boolean
Sets or gets whether the content of the element to be visible
number
Sets/Gets the width of the element
Arranges the child elements of the canvas
Returns Size
returns whether the container has child elements or not
Returns boolean