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

Configuration
Set up a new instance with config parameters and set/get methods:
config.el ...
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:
config.options.toolbar
Type: Array[] | Default: []
Add a toolbar with groups of built-in and custom buttons:
Instance
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: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.
navigate:validation
Click a button to show validation errors.
Example
Last updated
Was this helpful?
