Set up a new instance with config parameters and set/get methods:
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.validation
Type: Object | Default: {}
Controls validation panel settings.
Properties:
show (Boolean, default: false). Toggles visibility of the validation panel.
Example:
config.options.menu
Type: Object[] | Default: []
Add a dropdown menu input to trigger built-in and custom events:
Type: Array[] | Default: []
Add a toolbar with groups of built-in and custom buttons:
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.
Type: Boolean | Default: null
Toggle a custom loading state.
Type: String | Default: null
Toggle a custom error message.
stencilLayout
Type: String | Default: 'default'
Sets the stencil panel layout to 'default' (expanded) or 'collapsed'.
validationLayout
Type: String | Default: 'default'
Sets the validation panel layout to 'default' (expanded) or 'collapsed'.
Toggle stage button to start the flow.
Toggle stage button to stop the flow.
Click menu item to open sharing of the flow.
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.
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.
Add a new component to the flow.
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.
Last updated