Skip to content

BPMN Panel API / Panel Types / Toolbar

Type Alias: Toolbar

ts
type Toolbar = {
  items: (ToolbarItemId | ToolbarItem)[];
  showHand?: boolean;
  showOptimize?: boolean;
  showDelete?: boolean;
  showConnect?: boolean;
};

Defined in: features/panels/variants/bpmn/types/panel/graph/toolbar/toolbar.ts:11

Graph visualization configuration

Properties

PropertyTypeDescription

items

(ToolbarItemId | ToolbarItem)[]

List of items to show in the toolbar.

Each item is an id of the graph node or edge to show. If the item is an object, it can contain additional configuration for the item.

Converts to palette.allowed from the @mes/bpmn format.

showHand?

boolean

Show hand tool for panning the canvas.

Default

true in the installed @mes/bpmn runtime

showOptimize?

boolean

Show optimize tool for auto-arranging elements.

Default

true in the installed @mes/bpmn runtime

showDelete?

boolean

Show delete tool for removing elements.

Default

true in the installed @mes/bpmn runtime

showConnect?

boolean

Declared and forwarded for configuration compatibility, but the installed @mes/bpmn runtime does not consume this option.