For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

Designer

Build, edit and inspect individual flows in a comprehensive editor.

Designer

Configuration

Set up a new instance with config parameters and set/get methods:

config.el ...

Learn about widget config here.

config.flowId

Type: String | Default: null

ID of a flow that is opened in the editor.

config.componentId

Type: String | Default: null

ID of a component that is opened in the editor.

config.shareTypes

Type: Object | Default: DefaultShareTypes

Override default sharing dialog types.

config.sharePermissions

Type: Object[] | Default: DefaultSharePermissions

Override default sharing dialog permissions.

config.options.showHeader

Type: Boolean | Default: true

Toggle visibility of the header.

config.options.menu

Type: Object[] | Default: []

Add a dropdown menu input to trigger built-in and custom events:

The optional icon property is a URL of an image or a base64 string.

config.options.toolbar

Type: Array[] | Default: []

Add a toolbar with groups of built-in and custom buttons:

Specify Vue ComponentOptions under widget to create a custom toolbar button.

config.options.autoOpenLogs

Type: Boolean | Default: true

Automatically open logs view when the flow is running.

config.options.triggerSelector

Type: Object | Default: null

Automatically open trigger selector dialog when the flow has no trigger.

Instance

Learn about widget instance here.

State

loader

Type: Boolean | Default: null

Toggle a custom loading state.

error

Type: String | Default: null

Toggle a custom error message.

Events

flow:start

Toggle stage button to start the flow.

flow:stop

Toggle stage button to stop the flow.

flow:share

Click menu item to open sharing of the flow.

flow:rename

Click menu item to rename the flow.

flow:export-svg

Click menu item to export diagram of the flow to SVG.

flow:export-png

Click menu item to export diagram of the flow to PNG.

flow:print

Click menu item to print diagram of the flow.

flow:validation

An event containing an array with flow validation errors. If the array is empty, there are no validation errors in the flow.

flow:wizard-builder

Click menu item to open a wizard builder dialog.

component:add

Add a new component to the flow.

component:open

Open component inspector.

component:close

Close component inspector.

component:rename

Rename a component.

component:update-type

Use selection input to change component type.

Click a button to show validation errors.

Example

Last updated

Was this helpful?