Constructors

Properties

definitions: DefinitionContainer = {}
elements: ElementContainer = {}

Methods

  • It adds a new BPMN definition to the definitions object

    Parameters

    • id: string

      The id of the BPMN definition.

    • definition: BPMNDefinition

      BPMNDefinition

    Returns void

  • It adds an element to the elements object

    Parameters

    • id: string

      string - The id of the process

    • data: WrappedElement

      element: BPMNElement; key: string

    Returns void

  • It deletes the definition of the given id from the definitions object

    Parameters

    • id: string

      The id of the definition.

    Returns void

  • It deletes an element from the elements object

    Parameters

    • id: string

      The ID of the process.

    • Optional identity: IdentityOptions

      IdentityOptions of element

    Returns void

  • If the identity object has an id property, return the element with that id, otherwise if it has a name property, return the element with that name

    Parameters

    • id: string

      The ID of the process.

    • identity: IdentityOptions

      IdentityOptions of element

    Returns WrappedElement

    The element of the user with the given identity.

Generated using TypeDoc