Search results

Margin API in JavaScript Diagram API control

Defines the space to be left between an object and its immediate parent

Properties

bottom

number

Sets the space to be left from the bottom side of the immediate parent of an element

Defaults to 0

left

number

Sets the space to be left from the left side of the immediate parent of an element

Defaults to 0

Sets the space to be left from the right side of the immediate parent of an element

Defaults to 0

top

number

Sets the space to be left from the top side of the immediate parent of an element

Defaults to 0