Layout
Represents a layout container that automatically arranges child elements. Extends Group to provide automatic layout and positioning capabilities.
Definition
Package:@progress/kendo-react-diagram
Properties
children
any[]
Array of child visual elements contained in this group.
The underlying drawing element that handles the actual rendering.
id
string
The unique identifier of the element.
options
any
Configuration options for the element.
Methods
Appends a visual element to this group.
The visual element to append to the group
Removes all child visual elements from this group.
Gets the drawing container for this element.
any
The drawing element container
Sets the position of the element from a point.
The new element position.
Sets the position of the element from coordinates.
The horizontal coordinate.
ynumberThe vertical coordinate.
Gets the rectangle bounds of the layout.
undefined | Rect
The current layout bounds, or undefined when no bounds are set.
Redraws the layout with updated options.
New options to apply to the layout
Triggers a reflow of the layout, recalculating positions and sizes.
Removes a visual element from this group.
The visual element to remove from the group
Moves the specified visual elements to the back of the display order.
Array of visual elements to move to back
Moves the specified visual elements to the front of the display order.
Array of visual elements to move to front
Moves the specified visual elements to specific indices in the display order.
Array of visual elements to reorder
indicesanyTarget indices for the visual elements
Gets the visibility of the element.
boolean
true when the element is visible; otherwise, false.
Sets the visibility of the element.
Whether the element should be visible.