React Diagram - toolbox

Configures the toolbox settings.

Selector: Toolbox
Type:

Object

Default Value: {}

View Demo

The toolbox contains groups of shapes. Use this property to access the toolbox settings.

Diagram toolbox

groups

Lists toolbox groups.

Selector: Group
Default Value: undefined

View Demo

Use the groups property to customize the toolbox's content. You can populate it with default or custom groups.

shapeIconsPerRow

Specifies the number of shape icons in a row.

Type:

Number

Default Value: 3

showSearch

Specifies whether the search box is visible.

Type:

Boolean

Default Value: true

visibility

Specifies the toolbar's visibility.

Default Value: 'auto'
ValueDescription
autoThe toolbox is disabled when the diagram is read-only.
visibleThe toolbox is initially visible.
collapsedThe toolbox is collapsed initially.
disabledThe toolbox is disabled. An element that can invoke the toolbox is hidden.

width

Specifies the toolbox's width in pixels.

Type:

Number

Default Value: undefined