Search results

UmlSequenceFragmentModel API in JavaScript (ES5) Diagram API control

Interface for a class UmlSequenceFragment

Properties

conditions

UmlSequenceFragmentConditionModel[]

Defines the conditions and corresponding message/fragment references associated with this fragment. Each condition can represent a branch or case in the fragment (e.g., if-else, loop iteration).

conditions: [
  {
    content: 'Condition 1',
    messageIds: ['MSG1', 'MSG2'],
    fragmentIds: ['frag2']
  }
]

id

string | number

A unique identifier for the fragment.

type

UmlSequenceFragmentType

Specifies the type of the fragment, such as ‘Alternative’, ‘Loop’, or ‘Optional’. Determines how the fragment is interpreted and rendered in the diagram.