Search results

BpmnSubEventModel API in React Diagram API component

Interface for a class BpmnSubEvent

Properties

annotations

ShapeAnnotationModel[]

Defines the collection of textual annotations of the sub events

event

BpmnEvents

Sets the type of the BPMN Event

  • Start - Sets the type of the Bpmn Event as Start
  • Intermediate - Sets the type of the Bpmn Event as Intermediate
  • End - Sets the type of the Bpmn Event as End
  • NonInterruptingStart - Sets the type of the Bpmn Event as NonInterruptingStart
  • NonInterruptingIntermediate - Sets the type of the Bpmn Event as NonInterruptingIntermediate
  • ThrowingIntermediate - Sets the type of the Bpmn Event as ThrowingIntermediate

height

number

Sets the height of the node

horizontalAlignment

HorizontalAlignment

Sets how to horizontally align a node with respect to its immediate parent

  • Stretch - Stretches the diagram element throughout its immediate parent
  • Left - Aligns the diagram element at the left of its immediate parent
  • Right - Aligns the diagram element at the right of its immediate parent
  • Center - Aligns the diagram element at the center of its immediate parent
  • Auto - Aligns the diagram element based on the characteristics of its immediate parent

id

string

Sets the id of the BPMN sub event

margin

MarginModel

Defines the space to be left between the node and its immediate parent

offset

PointModel

Defines the position of the sub event

ports

PointPortModel[]

Defines the collection of connection points of the sub events

trigger

BpmnTriggers

Defines the type of the trigger

  • None - Sets the type of the trigger as None
  • Message - Sets the type of the trigger as Message
  • Escalation - Sets the type of the trigger as Escalation
  • Link - Sets the type of the trigger as Link
  • Error - Sets the type of the trigger as Error
  • Compensation - Sets the type of the trigger as Compensation
  • Signal - Sets the type of the trigger as Signal
  • Multiple - Sets the type of the trigger as Multiple
  • Parallel - Sets the type of the trigger as Parallel
  • Cancel - Sets the type of the trigger as Cancel
  • Conditional - Sets the type of the trigger as Conditional
  • Terminate - Sets the type of the trigger as Terminate

verticalAlignment

VerticalAlignment

Sets how to vertically align a node with respect to its immediate parent

  • Stretch - Stretches the diagram element throughout its immediate parent
  • Top - Aligns the diagram element at the top of its immediate parent
  • Bottom - Aligns the diagram element at the bottom of its immediate parent
  • Center - Aligns the diagram element at the center of its immediate parent
  • Auto - Aligns the diagram element based on the characteristics of its immediate parent

visible

boolean

Sets the visibility of the sub event

width

number

Sets the width of the node