From a0e50b7d9d66d7eb17fe06cc5efcc297d85e16f0 Mon Sep 17 00:00:00 2001 From: "62586190+process-analytics-bot@users.noreply.github.com" <62586190+process-analytics-bot@users.noreply.github.com> Date: Mon, 10 Feb 2025 05:40:50 +0000 Subject: [PATCH] deploy: 3274313cb32fd2697cabc612722878e2048c716f --- api/classes/BpmnCanvas.html | 12 ++--- api/classes/BpmnElementsRegistry.html | 26 +++++----- api/classes/BpmnVisualization.html | 12 ++--- api/classes/IconPainter.html | 48 +++++++++---------- api/classes/IconPainterProvider.html | 4 +- api/classes/Navigation.html | 4 +- api/classes/ShapeUtil.html | 8 ++-- api/classes/StyleConfigurator.html | 4 +- api/enums/AssociationDirectionKind.html | 4 +- api/enums/FitType.html | 12 ++--- api/enums/FlowKind.html | 4 +- api/enums/MessageVisibleKind.html | 4 +- api/enums/SequenceFlowKind.html | 4 +- api/enums/ShapeBpmnCallActivityKind.html | 4 +- api/enums/ShapeBpmnElementKind.html | 4 +- api/enums/ShapeBpmnEventBasedGatewayKind.html | 6 +-- api/enums/ShapeBpmnEventDefinitionKind.html | 4 +- api/enums/ShapeBpmnMarkerKind.html | 4 +- api/enums/ShapeBpmnSubProcessKind.html | 4 +- api/enums/ZoomType.html | 4 +- api/functions/getVersion.html | 2 +- api/interfaces/BaseBpmnSemantic.html | 6 +-- api/interfaces/BpmnCanvasConfiguration.html | 4 +- api/interfaces/BpmnElement.html | 4 +- api/interfaces/CssClassesRegistry.html | 10 ++-- api/interfaces/EdgeBpmnSemantic.html | 6 +-- api/interfaces/ElementsRegistry.html | 10 ++-- api/interfaces/FitOptions.html | 6 +-- api/interfaces/GlobalOptions.html | 10 ++-- api/interfaces/IconConfiguration.html | 6 +-- api/interfaces/IconStyleConfiguration.html | 4 +- api/interfaces/LoadOptions.html | 4 +- api/interfaces/ModelFilter.html | 4 +- api/interfaces/NavigationConfiguration.html | 6 +-- api/interfaces/OverlaysRegistry.html | 6 +-- api/interfaces/PaintParameter.html | 12 ++--- api/interfaces/PoolFilter.html | 6 +-- api/interfaces/ShapeBpmnSemantic.html | 22 ++++----- api/interfaces/ShapeConfiguration.html | 4 +- api/interfaces/Size.html | 4 +- api/interfaces/StyleRegistry.html | 6 +-- api/interfaces/Version.html | 6 +-- api/interfaces/ZoomConfiguration.html | 6 +-- api/types/BpmnElementKind.html | 2 +- api/types/BpmnEventKind.html | 2 +- api/types/BpmnSemantic.html | 2 +- api/types/EdgeStyleUpdate.html | 2 +- api/types/Fill.html | 2 +- api/types/FillColorGradient.html | 2 +- api/types/Font.html | 2 +- api/types/GlobalTaskKind.html | 2 +- api/types/GradientDirection.html | 2 +- api/types/Opacity.html | 2 +- api/types/Overlay.html | 2 +- api/types/OverlayEdgePosition.html | 2 +- api/types/OverlayFill.html | 2 +- api/types/OverlayFont.html | 2 +- api/types/OverlayPosition.html | 2 +- api/types/OverlayShapePosition.html | 2 +- api/types/OverlayStroke.html | 2 +- api/types/OverlayStyle.html | 2 +- api/types/ParserOptions.html | 2 +- api/types/RendererOptions.html | 2 +- api/types/ShapeStyleUpdate.html | 2 +- api/types/Stroke.html | 2 +- api/types/StyleUpdate.html | 2 +- api/types/StyleWithOpacity.html | 2 +- api/variables/BpmnStyleIdentifier.html | 2 +- api/variables/MarkerIdentifier.html | 2 +- api/variables/StyleDefault.html | 2 +- api/variables/mxgraph.html | 2 +- index.html | 2 +- 72 files changed, 194 insertions(+), 194 deletions(-) diff --git a/api/classes/BpmnCanvas.html b/api/classes/BpmnCanvas.html index 2ea5cdfef4..a189e0601c 100644 --- a/api/classes/BpmnCanvas.html +++ b/api/classes/BpmnCanvas.html @@ -9,7 +9,7 @@
const canvas = new BpmnCanvas(c, 0.26, 0.35);
canvas.moveTo(8, 39);
canvas.lineTo(12, 25);
-

Constructors

Constructors

Methods

Constructors

Methods

  • Experimental

    Parameters

    • rx: number
    • ry: number
    • angle: number
    • largeArcFlag: number
    • sweepFlag: number
    • x: number
    • y: number

    Returns void

  • Experimental

    Parameters

    • x1: number
    • y1: number
    • x2: number
    • y2: number
    • x3: number
    • y3: number

    Returns void

  • Experimental

    Parameters

    • x: number
    • y: number
    • w: number
    • h: number
    • dx: number
    • dy: number

    Returns void

  • Experimental

    Set the icon origin to ensure that, on the shape, the icon is horizontally centered and vertically aligned to the bottom.

    -

    Parameters

    • bottomMargin: number = StyleDefault.SHAPE_ACTIVITY_BOTTOM_MARGIN

    Returns void

  • Experimental

    Set the icon origin to the top left corner of the shape.

    -

    Parameters

    • topMargin: number = StyleDefault.SHAPE_ACTIVITY_TOP_MARGIN
    • leftMargin: number = StyleDefault.SHAPE_ACTIVITY_LEFT_MARGIN

    Returns void

  • Experimental

    Translate the icon origin using the scale factor associated to the horizontal and vertical directions.

    +

Constructors

Methods

  • Experimental

    Parameters

    • rx: number
    • ry: number
    • angle: number
    • largeArcFlag: number
    • sweepFlag: number
    • x: number
    • y: number

    Returns void

  • Experimental

    Parameters

    • x1: number
    • y1: number
    • x2: number
    • y2: number
    • x3: number
    • y3: number

    Returns void

  • Experimental

    Parameters

    • x: number
    • y: number
    • w: number
    • h: number
    • dx: number
    • dy: number

    Returns void

  • Experimental

    Set the icon origin to ensure that, on the shape, the icon is horizontally centered and vertically aligned to the bottom.

    +

    Parameters

    • bottomMargin: number = StyleDefault.SHAPE_ACTIVITY_BOTTOM_MARGIN

    Returns void

  • Experimental

    Set the icon origin to the top left corner of the shape.

    +

    Parameters

    • topMargin: number = StyleDefault.SHAPE_ACTIVITY_TOP_MARGIN
    • leftMargin: number = StyleDefault.SHAPE_ACTIVITY_LEFT_MARGIN

    Returns void

  • Experimental

    Translate the icon origin using the scale factor associated to the horizontal and vertical directions.

    The values should be given with using the icon original size (as translated values will be scaled as other values passed to method of this class).

    Parameters

    • dx: number

      the horizontal translation

    • dy: number

      the vertical translation

      -

    Returns void

+

Returns void

diff --git a/api/classes/BpmnElementsRegistry.html b/api/classes/BpmnElementsRegistry.html index 4d0056c4c9..7a924b7721 100644 --- a/api/classes/BpmnElementsRegistry.html +++ b/api/classes/BpmnElementsRegistry.html @@ -4,7 +4,7 @@

WARN: subject to change, feedback welcome.

-

Implements

Methods

Implements

Methods

addCssClasses addOverlays getElementsByIds getElementsByKinds @@ -38,14 +38,14 @@
  • toggleCssClasses to toggle CSS classes on a BPMN element.
  • StyleRegistry#updateStyle to directly update the style of BPMN elements.
  • -
    • Experimental

      Add one/several overlays to a BPMN element.

      +

    Returns BpmnElement[]

    Returns BpmnElement[]

    0.37.0

    -
    • Experimental

      Toggle one or more CSS classes on one or more BPMN elements.

      Note: If an ID is passed that does not reference an existing BPMN element, its reference is retained in the registry, but no rendering changes are made.

      Parameters

      • bpmnElementIds: string | string[]

        The BPMN ID of the element(s) on which to toggle the CSS classes. Passing a nullish parameter or an empty array has no effect.

      • classNames: string | string[]

        The name of the class(es) to toggle on the BPMN element(s).

        @@ -135,7 +135,7 @@
      • removeAllCssClasses to remove all CSS classes from a BPMN element.
      • addCssClasses to add CSS classes to a BPMN element.
      -
    • Experimental

      Update the style of one or several BPMN elements.

      Parameters

      • bpmnElementIds: string | string[]

        The BPMN ID of the element(s) whose style must be updated.

      • styleUpdate: StyleUpdate

        The style properties to update.

      Returns void

      bpmnVisualization.bpmnElementsRegistry.updateStyle('activity_1', {
      stroke: {
      color: 'red',
      },
      }); @@ -157,4 +157,4 @@
    • CssClassesRegistry#toggleCssClasses to toggle CSS classes on a BPMN element.

    0.33.0

    -
    +
    diff --git a/api/classes/BpmnVisualization.html b/api/classes/BpmnVisualization.html index 5e712ad1ed..6791a19353 100644 --- a/api/classes/BpmnVisualization.html +++ b/api/classes/BpmnVisualization.html @@ -3,21 +3,21 @@

    For more options, see GlobalOptions

    -

    Constructors

    Constructors

    Properties

    Methods

    Constructors

    Properties

    bpmnElementsRegistry: BpmnElementsRegistry

    Interact with BPMN diagram elements rendered in the page.

    +

    Constructors

    Properties

    bpmnElementsRegistry: BpmnElementsRegistry

    Interact with BPMN diagram elements rendered in the page.

    WARN: subject to change, feedback welcome.

    -
    graph: BpmnGraph

    Direct access to the mxGraph instance that powers bpmn-visualization. +

    graph: BpmnGraph

    Direct access to the mxGraph instance that powers bpmn-visualization. It is for advanced users, so please use the lib API first and access to the mxGraph instance only when there is no alternative.

    WARN: subject to change, could be removed or made available in another way.

    -
    navigation: Navigation

    Perform BPMN diagram navigation.

    +
    navigation: Navigation

    Perform BPMN diagram navigation.

    WARN: subject to change, feedback welcome.

    0.24.0

    -

    Methods

    Methods

    • Load and render the BPMN diagram.

      Parameters

      • xml: string

        The BPMN content as xml string

      • Optionaloptions: LoadOptions

        Let decide how to load the model and render the diagram

      Returns void

      Error when loading fails. This is generally due to a parsing error caused by a malformed BPMN content

      -
    +
    diff --git a/api/classes/IconPainter.html b/api/classes/IconPainter.html index e34b43c0e1..7808d33f26 100644 --- a/api/classes/IconPainter.html +++ b/api/classes/IconPainter.html @@ -1,6 +1,6 @@ IconPainter | bpmn-visualization API Documentation

    Default implementation for the icons.

    WARN: You may use it to customize the BPMN Theme as suggested in the examples. But be aware that the way the default BPMN theme can be modified is subject to change.

    -

    Constructors

    Constructors

    Methods

    +

    Returns BpmnCanvas

    diff --git a/api/classes/IconPainterProvider.html b/api/classes/IconPainterProvider.html index 2eb8769b8e..4212accf73 100644 --- a/api/classes/IconPainterProvider.html +++ b/api/classes/IconPainterProvider.html @@ -1,6 +1,6 @@ IconPainterProvider | bpmn-visualization API Documentation

    Class IconPainterProviderExperimental

    Hold the instance of IconPainter used by the BPMN Theme.

    WARN: You may use it to customize the BPMN Theme as suggested in the examples. But be aware that the way the default BPMN theme can be modified is subject to change.

    -

    Constructors

    Constructors

    Methods

    Constructors

    Methods

    +

    Constructors

    Methods

    diff --git a/api/classes/Navigation.html b/api/classes/Navigation.html index d2c27707aa..fbfa24ff08 100644 --- a/api/classes/Navigation.html +++ b/api/classes/Navigation.html @@ -1,7 +1,7 @@ Navigation | bpmn-visualization API Documentation

    Perform BPMN diagram navigation.

    WARN: subject to change, feedback welcome.

    0.24.0

    -

    Constructors

    Constructors

    Methods

    Constructors

    Methods

    +

    Constructors

    Methods

    diff --git a/api/classes/ShapeUtil.html b/api/classes/ShapeUtil.html index a5991ed0c1..918e8c1c53 100644 --- a/api/classes/ShapeUtil.html +++ b/api/classes/ShapeUtil.html @@ -1,6 +1,6 @@ ShapeUtil | bpmn-visualization API Documentation

    Utils to simplify the management of ShapeBpmnElementKind.

    This class is mainly used for internal purpose. You may use it to customize the BPMN theme as proposed in the examples but be aware it is subject to change.

    -

    Constructors

    Constructors

    Methods

    +

    Constructors

    Methods

    diff --git a/api/classes/StyleConfigurator.html b/api/classes/StyleConfigurator.html index b8eff9b30c..7ef6e7adaf 100644 --- a/api/classes/StyleConfigurator.html +++ b/api/classes/StyleConfigurator.html @@ -1,5 +1,5 @@ StyleConfigurator | bpmn-visualization API Documentation

    Configure the styles used for BPMN rendering.

    WARN: You may use it to customize the BPMN Theme as suggested in the examples. But be aware that the way the default BPMN theme can be modified is subject to change.

    -

    Constructors

    Constructors

    Methods

    Constructors

    Methods

    +

    Constructors

    Methods

    diff --git a/api/enums/AssociationDirectionKind.html b/api/enums/AssociationDirectionKind.html index 819891792b..b43c7bc328 100644 --- a/api/enums/AssociationDirectionKind.html +++ b/api/enums/AssociationDirectionKind.html @@ -1,5 +1,5 @@ AssociationDirectionKind | bpmn-visualization API Documentation

    Enum values are using the real name of the field in the BPMN XSD.

    -

    Enumeration Members

    Enumeration Members

    Enumeration Members

    BOTH: "Both"
    NONE: "None"
    ONE: "One"
    +

    Enumeration Members

    BOTH: "Both"
    NONE: "None"
    ONE: "One"
    diff --git a/api/enums/FitType.html b/api/enums/FitType.html index cee4a1838b..64f6e0c3e8 100644 --- a/api/enums/FitType.html +++ b/api/enums/FitType.html @@ -1,11 +1,11 @@ -FitType | bpmn-visualization API Documentation

    Enumeration Members

    Center +FitType | bpmn-visualization API Documentation

    Enumeration Members

    Center: "Center"

    Fit and center the BPMN Diagram.

    -
    Horizontal: "Horizontal"

    Fit only horizontally.

    -
    HorizontalVertical: "HorizontalVertical"

    Fit the whole html container available to render the BPMN diagram.

    -
    None: "None"

    No fit, use dimensions and coordinates from the BPMN diagram.

    -
    Vertical: "Vertical"

    Fit only vertically.

    -
    +
    Horizontal: "Horizontal"

    Fit only horizontally.

    +
    HorizontalVertical: "HorizontalVertical"

    Fit the whole html container available to render the BPMN diagram.

    +
    None: "None"

    No fit, use dimensions and coordinates from the BPMN diagram.

    +
    Vertical: "Vertical"

    Fit only vertically.

    +
    diff --git a/api/enums/FlowKind.html b/api/enums/FlowKind.html index 7865e452d2..523c5289e5 100644 --- a/api/enums/FlowKind.html +++ b/api/enums/FlowKind.html @@ -1,5 +1,5 @@ FlowKind | bpmn-visualization API Documentation

    Enum values are using the real name of the field in the BPMN XSD.

    -

    Enumeration Members

    Enumeration Members

    ASSOCIATION_FLOW: "association"
    MESSAGE_FLOW: "messageFlow"
    SEQUENCE_FLOW: "sequenceFlow"
    +

    Enumeration Members

    ASSOCIATION_FLOW: "association"
    MESSAGE_FLOW: "messageFlow"
    SEQUENCE_FLOW: "sequenceFlow"
    diff --git a/api/enums/MessageVisibleKind.html b/api/enums/MessageVisibleKind.html index 0fdc601620..d9047af0f9 100644 --- a/api/enums/MessageVisibleKind.html +++ b/api/enums/MessageVisibleKind.html @@ -1,5 +1,5 @@ MessageVisibleKind | bpmn-visualization API Documentation

    Enum values are using the real name of the visible message field in the BPMN XSD, except for none that is not present in the specification.

    -

    Enumeration Members

    Enumeration Members

    Enumeration Members

    INITIATING: "initiating"
    NON_INITIATING: "non_initiating"
    NONE: "none"
    +

    Enumeration Members

    INITIATING: "initiating"
    NON_INITIATING: "non_initiating"
    NONE: "none"
    diff --git a/api/enums/SequenceFlowKind.html b/api/enums/SequenceFlowKind.html index 5499a1b5d9..74fcb63e98 100644 --- a/api/enums/SequenceFlowKind.html +++ b/api/enums/SequenceFlowKind.html @@ -1,6 +1,6 @@ SequenceFlowKind | bpmn-visualization API Documentation

    Enum values are used internally to identify sequence the flow markers and to manage their related style.

    -

    Enumeration Members

    Enumeration Members

    CONDITIONAL_FROM_ACTIVITY: "conditional_from_activity"
    CONDITIONAL_FROM_GATEWAY: "conditional_from_gateway"
    DEFAULT: "default"
    NORMAL: "normal"
    +

    Enumeration Members

    CONDITIONAL_FROM_ACTIVITY: "conditional_from_activity"
    CONDITIONAL_FROM_GATEWAY: "conditional_from_gateway"
    DEFAULT: "default"
    NORMAL: "normal"
    diff --git a/api/enums/ShapeBpmnCallActivityKind.html b/api/enums/ShapeBpmnCallActivityKind.html index 398b9bdf85..e477086881 100644 --- a/api/enums/ShapeBpmnCallActivityKind.html +++ b/api/enums/ShapeBpmnCallActivityKind.html @@ -1,3 +1,3 @@ -ShapeBpmnCallActivityKind | bpmn-visualization API Documentation

    Enumeration Members

    CALLING_GLOBAL_TASK +ShapeBpmnCallActivityKind | bpmn-visualization API Documentation

    Enumeration Members

    CALLING_GLOBAL_TASK: "global task"
    CALLING_PROCESS: "process"
    +

    Enumeration Members

    CALLING_GLOBAL_TASK: "global task"
    CALLING_PROCESS: "process"
    diff --git a/api/enums/ShapeBpmnElementKind.html b/api/enums/ShapeBpmnElementKind.html index 6cbea62f6a..fbc55afdc7 100644 --- a/api/enums/ShapeBpmnElementKind.html +++ b/api/enums/ShapeBpmnElementKind.html @@ -1,5 +1,5 @@ ShapeBpmnElementKind | bpmn-visualization API Documentation

    The real name of the field in the BPMN XSD.

    -

    Enumeration Members

    Enumeration Members

    CALL_ACTIVITY: "callActivity"
    EVENT_BOUNDARY: "boundaryEvent"
    EVENT_END: "endEvent"
    EVENT_INTERMEDIATE_CATCH: "intermediateCatchEvent"
    EVENT_INTERMEDIATE_THROW: "intermediateThrowEvent"
    EVENT_START: "startEvent"
    GATEWAY_COMPLEX: "complexGateway"
    GATEWAY_EVENT_BASED: "eventBasedGateway"
    GATEWAY_EXCLUSIVE: "exclusiveGateway"
    GATEWAY_INCLUSIVE: "inclusiveGateway"
    GATEWAY_PARALLEL: "parallelGateway"
    GLOBAL_TASK: "globalTask"
    GLOBAL_TASK_BUSINESS_RULE: "globalBusinessRuleTask"
    GLOBAL_TASK_MANUAL: "globalManualTask"
    GLOBAL_TASK_SCRIPT: "globalScriptTask"
    GLOBAL_TASK_USER: "globalUserTask"
    GROUP: "group"
    LANE: "lane"
    POOL: "pool"
    SUB_PROCESS: "subProcess"
    TASK: "task"
    TASK_BUSINESS_RULE: "businessRuleTask"
    TASK_MANUAL: "manualTask"
    TASK_RECEIVE: "receiveTask"
    TASK_SCRIPT: "scriptTask"
    TASK_SEND: "sendTask"
    TASK_SERVICE: "serviceTask"
    TASK_USER: "userTask"
    TEXT_ANNOTATION: "textAnnotation"
    +

    Enumeration Members

    CALL_ACTIVITY: "callActivity"
    EVENT_BOUNDARY: "boundaryEvent"
    EVENT_END: "endEvent"
    EVENT_INTERMEDIATE_CATCH: "intermediateCatchEvent"
    EVENT_INTERMEDIATE_THROW: "intermediateThrowEvent"
    EVENT_START: "startEvent"
    GATEWAY_COMPLEX: "complexGateway"
    GATEWAY_EVENT_BASED: "eventBasedGateway"
    GATEWAY_EXCLUSIVE: "exclusiveGateway"
    GATEWAY_INCLUSIVE: "inclusiveGateway"
    GATEWAY_PARALLEL: "parallelGateway"
    GLOBAL_TASK: "globalTask"
    GLOBAL_TASK_BUSINESS_RULE: "globalBusinessRuleTask"
    GLOBAL_TASK_MANUAL: "globalManualTask"
    GLOBAL_TASK_SCRIPT: "globalScriptTask"
    GLOBAL_TASK_USER: "globalUserTask"
    GROUP: "group"
    LANE: "lane"
    POOL: "pool"
    SUB_PROCESS: "subProcess"
    TASK: "task"
    TASK_BUSINESS_RULE: "businessRuleTask"
    TASK_MANUAL: "manualTask"
    TASK_RECEIVE: "receiveTask"
    TASK_SCRIPT: "scriptTask"
    TASK_SEND: "sendTask"
    TASK_SERVICE: "serviceTask"
    TASK_USER: "userTask"
    TEXT_ANNOTATION: "textAnnotation"
    diff --git a/api/enums/ShapeBpmnEventBasedGatewayKind.html b/api/enums/ShapeBpmnEventBasedGatewayKind.html index 98dcd10d0e..b082fd2ad6 100644 --- a/api/enums/ShapeBpmnEventBasedGatewayKind.html +++ b/api/enums/ShapeBpmnEventBasedGatewayKind.html @@ -1,6 +1,6 @@ ShapeBpmnEventBasedGatewayKind | bpmn-visualization API Documentation

    Values available for the eventGatewayType property in the BPMN specification.

    -

    Enumeration Members

    Enumeration Members

    Enumeration Members

    Exclusive: "Exclusive"
    None: "None"

    When no type is provided in the BPMN source.

    -
    Parallel: "Parallel"
    +

    Enumeration Members

    Exclusive: "Exclusive"
    None: "None"

    When no type is provided in the BPMN source.

    +
    Parallel: "Parallel"
    diff --git a/api/enums/ShapeBpmnEventDefinitionKind.html b/api/enums/ShapeBpmnEventDefinitionKind.html index 83f6a361d5..d7b6f793cb 100644 --- a/api/enums/ShapeBpmnEventDefinitionKind.html +++ b/api/enums/ShapeBpmnEventDefinitionKind.html @@ -1,6 +1,6 @@ ShapeBpmnEventDefinitionKind | bpmn-visualization API Documentation

    Base name of the EventDefinition fields in the BPMN XSD for event kinds. In the xsd, the value is <enum_value>EventDefinition.

    For instance, TERMINATE --> terminateEventDefinition

    -

    Enumeration Members

    Enumeration Members

    Enumeration Members

    CANCEL: "cancel"
    COMPENSATION: "compensate"
    CONDITIONAL: "conditional"
    ERROR: "error"
    ESCALATION: "escalation"
    LINK: "link"
    MESSAGE: "message"
    NONE: "none"
    SIGNAL: "signal"
    TERMINATE: "terminate"
    TIMER: "timer"
    +

    Enumeration Members

    CANCEL: "cancel"
    COMPENSATION: "compensate"
    CONDITIONAL: "conditional"
    ERROR: "error"
    ESCALATION: "escalation"
    LINK: "link"
    MESSAGE: "message"
    NONE: "none"
    SIGNAL: "signal"
    TERMINATE: "terminate"
    TIMER: "timer"
    diff --git a/api/enums/ShapeBpmnMarkerKind.html b/api/enums/ShapeBpmnMarkerKind.html index ae6b580ae4..1392d0731f 100644 --- a/api/enums/ShapeBpmnMarkerKind.html +++ b/api/enums/ShapeBpmnMarkerKind.html @@ -1,7 +1,7 @@ -ShapeBpmnMarkerKind | bpmn-visualization API Documentation

    Enumeration Members

    ADHOC +ShapeBpmnMarkerKind | bpmn-visualization API Documentation

    Enumeration Members

    ADHOC: "adhoc"
    COMPENSATION: "compensation"
    EXPAND: "expand"
    LOOP: "loop"
    MULTI_INSTANCE_PARALLEL: "multi-parallel"
    MULTI_INSTANCE_SEQUENTIAL: "multi-sequential"
    +

    Enumeration Members

    ADHOC: "adhoc"
    COMPENSATION: "compensation"
    EXPAND: "expand"
    LOOP: "loop"
    MULTI_INSTANCE_PARALLEL: "multi-parallel"
    MULTI_INSTANCE_SEQUENTIAL: "multi-sequential"
    diff --git a/api/enums/ShapeBpmnSubProcessKind.html b/api/enums/ShapeBpmnSubProcessKind.html index c916cbeb48..ead8eb09e0 100644 --- a/api/enums/ShapeBpmnSubProcessKind.html +++ b/api/enums/ShapeBpmnSubProcessKind.html @@ -1,5 +1,5 @@ -ShapeBpmnSubProcessKind | bpmn-visualization API Documentation

    Enumeration Members

    AD_HOC +ShapeBpmnSubProcessKind | bpmn-visualization API Documentation

    Enumeration Members

    Enumeration Members

    AD_HOC: "adhoc"
    EMBEDDED: "embedded"
    EVENT: "event"
    TRANSACTION: "transaction"
    +

    Enumeration Members

    AD_HOC: "adhoc"
    EMBEDDED: "embedded"
    EVENT: "event"
    TRANSACTION: "transaction"
    diff --git a/api/enums/ZoomType.html b/api/enums/ZoomType.html index 8d0b4207ff..983f235c58 100644 --- a/api/enums/ZoomType.html +++ b/api/enums/ZoomType.html @@ -1,4 +1,4 @@ ZoomType | bpmn-visualization API Documentation

    0.24.0

    -

    Enumeration Members

    In +

    Enumeration Members

    Enumeration Members

    In: "in"
    Out: "out"
    +

    Enumeration Members

    In: "in"
    Out: "out"
    diff --git a/api/functions/getVersion.html b/api/functions/getVersion.html index 1ad6980b2e..53a6207054 100644 --- a/api/functions/getVersion.html +++ b/api/functions/getVersion.html @@ -1,3 +1,3 @@ getVersion | bpmn-visualization API Documentation

    Returns the version of bpmn-visualization and the version of its dependencies.

    0.43.0

    -
    +
    diff --git a/api/interfaces/BaseBpmnSemantic.html b/api/interfaces/BaseBpmnSemantic.html index 7947f6d4a3..8c3988d66f 100644 --- a/api/interfaces/BaseBpmnSemantic.html +++ b/api/interfaces/BaseBpmnSemantic.html @@ -1,6 +1,6 @@ -BaseBpmnSemantic | bpmn-visualization API Documentation
    interface BaseBpmnSemantic {
        id: string;
        isShape: boolean;
        kind: BpmnElementKind;
        name: string;
    }

    Hierarchy (View Summary)

    Properties

    id +BaseBpmnSemantic | bpmn-visualization API Documentation
    interface BaseBpmnSemantic {
        id: string;
        isShape: boolean;
        kind: BpmnElementKind;
        name: string;
    }

    Hierarchy (View Summary)

    Properties

    Properties

    id: string
    isShape: boolean

    true when relates to a BPMN Shape, false when relates to a BPMN Edge.

    -
    name: string
    +

    Properties

    id: string
    isShape: boolean

    true when relates to a BPMN Shape, false when relates to a BPMN Edge.

    +
    name: string
    diff --git a/api/interfaces/BpmnCanvasConfiguration.html b/api/interfaces/BpmnCanvasConfiguration.html index 561cd9bf39..22f004b664 100644 --- a/api/interfaces/BpmnCanvasConfiguration.html +++ b/api/interfaces/BpmnCanvasConfiguration.html @@ -1,5 +1,5 @@ BpmnCanvasConfiguration | bpmn-visualization API Documentation

    Interface BpmnCanvasConfigurationExperimental

    WARN: You may use it to customize the BPMN Theme as suggested in the examples. But be aware that the way the default BPMN theme can be modified is subject to change.

    -
    interface BpmnCanvasConfiguration {
        canvas: mxAbstractCanvas2D;
        iconConfig: IconConfiguration;
        shapeConfig: ShapeConfiguration;
    }

    Properties

    interface BpmnCanvasConfiguration {
        canvas: mxAbstractCanvas2D;
        iconConfig: IconConfiguration;
        shapeConfig: ShapeConfiguration;
    }

    Properties

    canvas: mxAbstractCanvas2D
    iconConfig: IconConfiguration
    shapeConfig: ShapeConfiguration
    +

    Properties

    canvas: mxAbstractCanvas2D
    iconConfig: IconConfiguration
    shapeConfig: ShapeConfiguration
    diff --git a/api/interfaces/BpmnElement.html b/api/interfaces/BpmnElement.html index ccd9c8e854..6b402bc217 100644 --- a/api/interfaces/BpmnElement.html +++ b/api/interfaces/BpmnElement.html @@ -1,3 +1,3 @@ -BpmnElement | bpmn-visualization API Documentation
    interface BpmnElement {
        bpmnSemantic: BpmnSemantic;
        htmlElement: HTMLElement;
    }

    Properties

    bpmnSemantic +BpmnElement | bpmn-visualization API Documentation
    interface BpmnElement {
        bpmnSemantic: BpmnSemantic;
        htmlElement: HTMLElement;
    }

    Properties

    bpmnSemantic: BpmnSemantic
    htmlElement: HTMLElement
    +

    Properties

    bpmnSemantic: BpmnSemantic
    htmlElement: HTMLElement
    diff --git a/api/interfaces/CssClassesRegistry.html b/api/interfaces/CssClassesRegistry.html index bf74b334b5..cb8b0aa796 100644 --- a/api/interfaces/CssClassesRegistry.html +++ b/api/interfaces/CssClassesRegistry.html @@ -1,4 +1,4 @@ -CssClassesRegistry | bpmn-visualization API Documentation
    interface CssClassesRegistry {
        addCssClasses(
            bpmnElementIds: string | string[],
            classNames: string | string[],
        ): void;
        removeAllCssClasses(bpmnElementIds?: string | string[]): void;
        removeCssClasses(
            bpmnElementIds: string | string[],
            classNames: string | string[],
        ): void;
        toggleCssClasses(
            bpmnElementIds: string | string[],
            classNames: string | string[],
        ): void;
    }

    Implemented by

    Methods

    addCssClasses +CssClassesRegistry | bpmn-visualization API Documentation
    interface CssClassesRegistry {
        addCssClasses(
            bpmnElementIds: string | string[],
            classNames: string | string[],
        ): void;
        removeAllCssClasses(bpmnElementIds?: string | string[]): void;
        removeCssClasses(
            bpmnElementIds: string | string[],
            classNames: string | string[],
        ): void;
        toggleCssClasses(
            bpmnElementIds: string | string[],
            classNames: string | string[],
        ): void;
    }

    Implemented by

    Methods

    addCssClasses removeAllCssClasses removeCssClasses toggleCssClasses @@ -24,7 +24,7 @@
  • toggleCssClasses to toggle CSS classes on a BPMN element.
  • StyleRegistry#updateStyle to directly update the style of BPMN elements.
  • -
    • Remove any CSS classes that were previously added to one or more BPMN elements using the addCssClasses or the toggleCssClasses methods.

      +
    • Remove any CSS classes that were previously added to one or more BPMN elements using the addCssClasses or the toggleCssClasses methods.

      Note: If you pass IDs that are not related to existing BPMN elements, they will be ignored and no changes will be made to the rendering.

      Parameters

      • OptionalbpmnElementIds: string | string[]

        The BPMN ID of the element(s) from which to remove all CSS classes. When passing a nullish parameter, all CSS classes associated with all BPMN elements will be removed. Passing an empty array has no effect.

        @@ -33,7 +33,7 @@

        removeCssClasses to remove specific classes from a BPMN element.

        0.34.0

        -
    • Remove one or more CSS classes that were previously added to one or more BPMN elements using the addCssClasses or the toggleCssClasses methods.

      +
    • Remove one or more CSS classes that were previously added to one or more BPMN elements using the addCssClasses or the toggleCssClasses methods.

      Note: If you pass IDs that are not related to existing BPMN elements, they will be ignored and no changes will be made to the rendering.

      Parameters

      • bpmnElementIds: string | string[]

        The BPMN ID of the element(s) from which to remove the CSS classes. Passing a nullish parameter or an empty array has no effect.

      • classNames: string | string[]

        The name of the class(es) to remove from the BPMN element(s).

        @@ -41,7 +41,7 @@

        removeAllCssClasses to remove all CSS classes from a BPMN element.

        -
    • Toggle one or more CSS classes on one or more BPMN elements.

      +
    • Toggle one or more CSS classes on one or more BPMN elements.

      Note: If an ID is passed that does not reference an existing BPMN element, its reference is retained in the registry, but no rendering changes are made.

      Parameters

      • bpmnElementIds: string | string[]

        The BPMN ID of the element(s) on which to toggle the CSS classes. Passing a nullish parameter or an empty array has no effect.

      • classNames: string | string[]

        The name of the class(es) to toggle on the BPMN element(s).

        @@ -53,4 +53,4 @@
      • removeAllCssClasses to remove all CSS classes from a BPMN element.
      • addCssClasses to add CSS classes to a BPMN element.
      -
    +
    diff --git a/api/interfaces/EdgeBpmnSemantic.html b/api/interfaces/EdgeBpmnSemantic.html index 0bd2abab9a..2cafd29ff7 100644 --- a/api/interfaces/EdgeBpmnSemantic.html +++ b/api/interfaces/EdgeBpmnSemantic.html @@ -1,9 +1,9 @@ EdgeBpmnSemantic | bpmn-visualization API Documentation

    Extended properties available when BaseBpmnSemantic.isShape is false.

    -
    interface EdgeBpmnSemantic {
        id: string;
        isShape: boolean;
        kind: BpmnElementKind;
        name: string;
        sourceRefId: string;
        targetRefId: string;
    }

    Hierarchy (View Summary)

    Properties

    id +
    interface EdgeBpmnSemantic {
        id: string;
        isShape: boolean;
        kind: BpmnElementKind;
        name: string;
        sourceRefId: string;
        targetRefId: string;
    }

    Hierarchy (View Summary)

    Properties

    id: string
    isShape: boolean

    true when relates to a BPMN Shape, false when relates to a BPMN Edge.

    -
    name: string
    sourceRefId: string
    targetRefId: string
    +

    Properties

    id: string
    isShape: boolean

    true when relates to a BPMN Shape, false when relates to a BPMN Edge.

    +
    name: string
    sourceRefId: string
    targetRefId: string
    diff --git a/api/interfaces/ElementsRegistry.html b/api/interfaces/ElementsRegistry.html index 8cbe90ed04..710f5ca9fd 100644 --- a/api/interfaces/ElementsRegistry.html +++ b/api/interfaces/ElementsRegistry.html @@ -1,4 +1,4 @@ -ElementsRegistry | bpmn-visualization API Documentation
    interface ElementsRegistry {
        getElementsByIds(bpmnElementIds: string | string[]): BpmnElement[];
        getElementsByKinds(
            bpmnKinds: BpmnElementKind | BpmnElementKind[],
        ): BpmnElement[];
        getModelElementsByIds(bpmnElementIds: string | string[]): BpmnSemantic[];
        getModelElementsByKinds(
            bpmnKinds: BpmnElementKind | BpmnElementKind[],
        ): BpmnSemantic[];
    }

    Implemented by

    Methods

    getElementsByIds +ElementsRegistry | bpmn-visualization API Documentation
    interface ElementsRegistry {
        getElementsByIds(bpmnElementIds: string | string[]): BpmnElement[];
        getElementsByKinds(
            bpmnKinds: BpmnElementKind | BpmnElementKind[],
        ): BpmnElement[];
        getModelElementsByIds(bpmnElementIds: string | string[]): BpmnSemantic[];
        getModelElementsByKinds(
            bpmnKinds: BpmnElementKind | BpmnElementKind[],
        ): BpmnSemantic[];
    }

    Implemented by

    Methods

    getElementsByIds getElementsByKinds getModelElementsByIds getModelElementsByKinds @@ -11,7 +11,7 @@ Attempts to retrieve too many elements, especially on large BPMN diagram, may lead to performance issues.

    If you only need to retrieve the BPMN model data, use getModelElementsByIds instead.

    Parameters

    • bpmnElementIds: string | string[]

      The BPMN ID of the element(s) to retrieve.

      -

    Returns BpmnElement[]

    Returns BpmnElement[]

    • Get all elements by kinds.

      ...
      // Find all elements by desired type or types
      const bpmnTaskElements = bpmnVisualization.bpmnElementsRegistry.getElementsByKinds(ShapeBpmnElementKind.TASK);
      const bpmnEndEventAndPoolElements = bpmnVisualization.bpmnElementsRegistry.getElementsByKinds([ShapeBpmnElementKind.EVENT_END, ShapeBpmnElementKind.POOL]);
      // now you can do whatever you want with the elements
      ...
      @@ -19,7 +19,7 @@

      WARNING: this method is not designed to accept a large amount of types. It does DOM lookup to retrieve the HTML elements relative to the BPMN elements. Attempts to retrieve too many elements, especially on large BPMN diagrams, may lead to performance issues.

      Parameters

      Returns BpmnElement[]

    • Get all model elements in the form of BpmnSemantic objects corresponding to the identifiers supplied. The returned array contains elements in the order of the bpmnElementIds parameter.

      +

    Returns BpmnElement[]

    • Get all model elements in the form of BpmnSemantic objects corresponding to the identifiers supplied. The returned array contains elements in the order of the bpmnElementIds parameter.

      Not found elements are not returned as undefined in the array, so the returned array contains at most as many elements as the bpmnElementIds parameter.

      ...
      // Find all elements by specified id or ids
      const bpmnElements1 = bpmnVisualization.bpmnElementsRegistry.getModelElementsByIds('userTask_1');
      const bpmnElements2 = bpmnVisualization.bpmnElementsRegistry.getModelElementsByIds(['startEvent_3', 'userTask_2']);
      // now you can do whatever you want with the elements
      ...
      @@ -27,11 +27,11 @@

      If you also need to retrieve the related DOM elements and more information, use getElementsByIds instead.

      Parameters

      • bpmnElementIds: string | string[]

        The BPMN ID of the element(s) to retrieve.

      Returns BpmnSemantic[]

      0.39.0

      -
    • Get all model elements in the form of BpmnSemantic objects corresponding to the BPMN kinds supplied

      ...
      // Find all elements by desired kind or kinds
      const bpmnElements1 = bpmnVisualization.bpmnElementsRegistry.getModelElementsByKinds(ShapeBpmnElementKind.TASK);
      const bpmnElements2 = bpmnVisualization.bpmnElementsRegistry.getModelElementsByKinds([ShapeBpmnElementKind.EVENT_END, ShapeBpmnElementKind.POOL]);
      // now you can do whatever you want with the elements
      ...

      If you also need to retrieve the related DOM elements and more information, use getElementsByKinds instead.

      Parameters

      Returns BpmnSemantic[]

      0.39.0

      -
    +
    diff --git a/api/interfaces/FitOptions.html b/api/interfaces/FitOptions.html index 040b69d0b9..e0a730fe9a 100644 --- a/api/interfaces/FitOptions.html +++ b/api/interfaces/FitOptions.html @@ -1,8 +1,8 @@ -FitOptions | bpmn-visualization API Documentation
    interface FitOptions {
        margin?: number;
        type?: FitType;
    }

    Properties

    margin? +FitOptions | bpmn-visualization API Documentation
    interface FitOptions {
        margin?: number;
        type?: FitType;
    }

    Properties

    Properties

    margin?: number

    Negative values fallback to default.

    0
     
    -
    type?: FitType

    FitType.None

    -
    +
    type?: FitType

    FitType.None

    +
    diff --git a/api/interfaces/GlobalOptions.html b/api/interfaces/GlobalOptions.html index 916797680e..03ce454a36 100644 --- a/api/interfaces/GlobalOptions.html +++ b/api/interfaces/GlobalOptions.html @@ -1,10 +1,10 @@ GlobalOptions | bpmn-visualization API Documentation

    Options to configure the bpmn-visualization initialization.

    -
    interface GlobalOptions {
        container: string | HTMLElement;
        navigation?: NavigationConfiguration;
        parser?: ParserOptions;
        renderer?: RendererOptions;
    }

    Properties

    interface GlobalOptions {
        container: string | HTMLElement;
        navigation?: NavigationConfiguration;
        parser?: ParserOptions;
        renderer?: RendererOptions;
    }

    Properties

    container: string | HTMLElement

    The id of a DOM element or an HTML node where the BPMN diagram is rendered.

    -

    Configure the BPMN diagram navigation (panning and zoom).

    -
    parser?: ParserOptions

    Configure the BPMN parser.

    -
    renderer?: RendererOptions

    Configure how the BPMN diagram and its elements are rendered.

    -
    +

    Configure the BPMN diagram navigation (panning and zoom).

    +
    parser?: ParserOptions

    Configure the BPMN parser.

    +
    renderer?: RendererOptions

    Configure how the BPMN diagram and its elements are rendered.

    +
    diff --git a/api/interfaces/IconConfiguration.html b/api/interfaces/IconConfiguration.html index 07fcaa3cae..a88dd1a614 100644 --- a/api/interfaces/IconConfiguration.html +++ b/api/interfaces/IconConfiguration.html @@ -1,6 +1,6 @@ -IconConfiguration | bpmn-visualization API Documentation
    interface IconConfiguration {
        originalSize: Size;
        ratioFromParent?: number;
        setIconOriginFunct: (canvas: BpmnCanvas) => void;
        styleConfig: IconStyleConfiguration;
    }

    Properties

    originalSize +IconConfiguration | bpmn-visualization API Documentation
    interface IconConfiguration {
        originalSize: Size;
        ratioFromParent?: number;
        setIconOriginFunct: (canvas: BpmnCanvas) => void;
        styleConfig: IconStyleConfiguration;
    }

    Properties

    originalSize: Size
    ratioFromParent?: number

    If undefined, no scaling will be done in BpmnCanvas.

    -
    setIconOriginFunct: (canvas: BpmnCanvas) => void
    +

    Properties

    originalSize: Size
    ratioFromParent?: number

    If undefined, no scaling will be done in BpmnCanvas.

    +
    setIconOriginFunct: (canvas: BpmnCanvas) => void
    diff --git a/api/interfaces/IconStyleConfiguration.html b/api/interfaces/IconStyleConfiguration.html index b73b01a74f..d867d0c57e 100644 --- a/api/interfaces/IconStyleConfiguration.html +++ b/api/interfaces/IconStyleConfiguration.html @@ -1,6 +1,6 @@ -IconStyleConfiguration | bpmn-visualization API Documentation
    interface IconStyleConfiguration {
        fillColor: string;
        isFilled: boolean;
        margin: number;
        strokeColor: string;
        strokeWidth: number;
    }

    Properties

    fillColor +IconStyleConfiguration | bpmn-visualization API Documentation
    interface IconStyleConfiguration {
        fillColor: string;
        isFilled: boolean;
        margin: number;
        strokeColor: string;
        strokeWidth: number;
    }

    Properties

    fillColor: string
    isFilled: boolean
    margin: number
    strokeColor: string
    strokeWidth: number
    +

    Properties

    fillColor: string
    isFilled: boolean
    margin: number
    strokeColor: string
    strokeWidth: number
    diff --git a/api/interfaces/LoadOptions.html b/api/interfaces/LoadOptions.html index e509e13b50..042678c3ef 100644 --- a/api/interfaces/LoadOptions.html +++ b/api/interfaces/LoadOptions.html @@ -1,4 +1,4 @@ LoadOptions | bpmn-visualization API Documentation

    Options when loading a BPMN Diagram.

    -
    interface LoadOptions {
        fit?: FitOptions;
        modelFilter?: ModelFilter;
    }

    Properties

    interface LoadOptions {
        fit?: FitOptions;
        modelFilter?: ModelFilter;
    }

    Properties

    Properties

    modelFilter?: ModelFilter
    +

    Properties

    modelFilter?: ModelFilter
    diff --git a/api/interfaces/ModelFilter.html b/api/interfaces/ModelFilter.html index 7e501765f5..9a4de8b23f 100644 --- a/api/interfaces/ModelFilter.html +++ b/api/interfaces/ModelFilter.html @@ -3,5 +3,5 @@
    bpmnVisualization.load(diagram, {
    modelFilter: {
    pools: [
    {
    // id of the Participant related to the Pool to display
    id: 'id1'
    },
    {
    // Name of the Participant, or name of the Process referenced by the Participant
    // when the Participant doesn't have a name.
    // This is how `bpmn-visualization` builds the name into its internal model.
    name: 'name2'
    },
    {
    id: 'id3',
    // in this case, we only use the id, and ignore the name
    name: 'name3'
    }
    ]},
    });
    -
    interface ModelFilter {
        pools?: PoolFilter | PoolFilter[];
    }

    Properties

    Properties

    +
    interface ModelFilter {
        pools?: PoolFilter | PoolFilter[];
    }

    Properties

    Properties

    diff --git a/api/interfaces/NavigationConfiguration.html b/api/interfaces/NavigationConfiguration.html index e6d70154c2..d3423552ae 100644 --- a/api/interfaces/NavigationConfiguration.html +++ b/api/interfaces/NavigationConfiguration.html @@ -1,10 +1,10 @@ NavigationConfiguration | bpmn-visualization API Documentation

    Configure the BPMN diagram navigation (panning and zoom).

    -
    interface NavigationConfiguration {
        enabled: boolean;
        zoom?: ZoomConfiguration;
    }

    Properties

    interface NavigationConfiguration {
        enabled: boolean;
        zoom?: ZoomConfiguration;
    }

    Properties

    Properties

    enabled: boolean

    Enable the navigation with the mouse wheel or with gesture/pinch on touch devices.

    IMPORTANT: the navigation API is not affected by this value. Navigation actions performed with the API always have an effect.

    false
     
    -

    Tune how the zoom behaves when using the mouse wheel or with gesture/pinch on touch devices.

    -
    +

    Tune how the zoom behaves when using the mouse wheel or with gesture/pinch on touch devices.

    +
    diff --git a/api/interfaces/OverlaysRegistry.html b/api/interfaces/OverlaysRegistry.html index 54e2c4d517..ab0e0959a3 100644 --- a/api/interfaces/OverlaysRegistry.html +++ b/api/interfaces/OverlaysRegistry.html @@ -1,4 +1,4 @@ -OverlaysRegistry | bpmn-visualization API Documentation
    interface OverlaysRegistry {
        addOverlays(bpmnElementId: string, overlays: Overlay | Overlay[]): void;
        removeAllOverlays(bpmnElementId: string): void;
    }

    Implemented by

    Methods

    addOverlays +OverlaysRegistry | bpmn-visualization API Documentation
    interface OverlaysRegistry {
        addOverlays(bpmnElementId: string, overlays: Overlay | Overlay[]): void;
        removeAllOverlays(bpmnElementId: string): void;
    }

    Implemented by

    Methods

    • Add one/several overlays to a BPMN element.

      Notice that if you pass an id that is not related to an existing BPMN element, nothing happens on the rendering side.

      @@ -7,11 +7,11 @@

    Returns void

    // Add an overlay to BPMN elements with id 'task_1'
    bpmnVisualization.bpmnElementsRegistry.addOverlays('task_1', {
    position: 'top-left',
    label: '40',
    style: {
    font: { color: 'Chartreuse', size: 8 },
    fill: { color: 'Pink', opacity: 50 },
    stroke: { color: 'DarkSeaGreen', width: 2 }
    }
    });

    // Add several overlays to BPMN element with id 'task_3'
    bpmnVisualization.bpmnElementsRegistry.addOverlays('task_3', [
    {
    position: 'bottom-right',
    label: '110',
    style: {
    font: { color: '#663399', size: 8 },
    fill: { color: '#FFDAB9', opacity: 50 },
    stroke: { color: 'DarkSeaGreen', width: 2 }
    }
    },
    {
    position: 'top-left',
    label: '40',
    style: {
    font: { color: 'MidnightBlue', size: 30 },
    fill: { color: 'Aquamarine', opacity: 70 },
    stroke: { color: '#4B0082', width: 1 }
    }
    }
    ]);
    -
    • Remove all overlays of a BPMN element.

      +
    • Remove all overlays of a BPMN element.

      Notice that if you pass an id that is not related to an existing BPMN element, nothing happens on the rendering side.

      WARNING: could be renamed when adding support for removal of one or several specific overlays.

      Parameters

      • bpmnElementId: string

        The BPMN id of the element where to remove the overlays

      Returns void

      //  all overlays of the BPMN element with id: activity_1
      bpmnVisualization.bpmnElementsRegistry.removeAllOverlays('activity_1');
      -
    +
    diff --git a/api/interfaces/PaintParameter.html b/api/interfaces/PaintParameter.html index 34f33de034..eef6fb90a8 100644 --- a/api/interfaces/PaintParameter.html +++ b/api/interfaces/PaintParameter.html @@ -1,13 +1,13 @@ PaintParameter | bpmn-visualization API Documentation

    Interface PaintParameterExperimental

    WARN: You may use it to customize the BPMN Theme as suggested in the examples. But be aware that the way the default BPMN theme can be modified is subject to change.

    -
    interface PaintParameter {
        canvas: mxAbstractCanvas2D;
        iconStyleConfig: IconStyleConfiguration;
        ratioFromParent?: number;
        setIconOriginFunct: (canvas: BpmnCanvas) => void;
        shapeConfig: ShapeConfiguration;
    }

    Properties

    interface PaintParameter {
        canvas: mxAbstractCanvas2D;
        iconStyleConfig: IconStyleConfiguration;
        ratioFromParent?: number;
        setIconOriginFunct: (canvas: BpmnCanvas) => void;
        shapeConfig: ShapeConfiguration;
    }

    Properties

    canvas: mxAbstractCanvas2D

    Underlying 'Canvas' in charge of performing the paint operations.

    -
    iconStyleConfig: IconStyleConfiguration

    The style configuration of the icon.

    -
    ratioFromParent?: number

    The actual size of the icon will be computed from the shape dimensions using this ratio. The ratio between the original dimensions of the icon are kept. +

    iconStyleConfig: IconStyleConfiguration

    The style configuration of the icon.

    +
    ratioFromParent?: number

    The actual size of the icon will be computed from the shape dimensions using this ratio. The ratio between the original dimensions of the icon are kept. If not set, use the dimensions defined in the icon implementation.

    -
    setIconOriginFunct: (canvas: BpmnCanvas) => void

    The called function to set the origin of the icon. Generally, it calls a method of BpmnCanvas.

    -
    shapeConfig: ShapeConfiguration

    The dimension and the style of the shape where the icon is painted.

    -
    +
    setIconOriginFunct: (canvas: BpmnCanvas) => void

    The called function to set the origin of the icon. Generally, it calls a method of BpmnCanvas.

    +
    shapeConfig: ShapeConfiguration

    The dimension and the style of the shape where the icon is painted.

    +
    diff --git a/api/interfaces/PoolFilter.html b/api/interfaces/PoolFilter.html index 5ce3fb3903..c62926c3d8 100644 --- a/api/interfaces/PoolFilter.html +++ b/api/interfaces/PoolFilter.html @@ -1,9 +1,9 @@ PoolFilter | bpmn-visualization API Documentation

    Pool filtering configuration.

    A Pool is the graphical representation of a Participant in a Collaboration.

    -
    interface PoolFilter {
        id?: string;
        name?: string;
    }

    Properties

    id? +
    interface PoolFilter {
        id?: string;
        name?: string;
    }

    Properties

    Properties

    id?: string

    id of the Participant related to the Pool to display

    -
    name?: string

    Name of the Participant, or name of the Process referenced by the Participant when the Participant doesn't have a name. +

    name?: string

    Name of the Participant, or name of the Process referenced by the Participant when the Participant doesn't have a name. This is how bpmn-visualization builds the name into its internal model. If id is set, this property is ignored.

    -
    +
    diff --git a/api/interfaces/ShapeBpmnSemantic.html b/api/interfaces/ShapeBpmnSemantic.html index 2e9e66b1d2..facd4c83b6 100644 --- a/api/interfaces/ShapeBpmnSemantic.html +++ b/api/interfaces/ShapeBpmnSemantic.html @@ -1,5 +1,5 @@ ShapeBpmnSemantic | bpmn-visualization API Documentation

    Extended properties available when BaseBpmnSemantic.isShape is true.

    -
    interface ShapeBpmnSemantic {
        callActivityGlobalTaskKind?: GlobalTaskKind;
        callActivityKind?: ShapeBpmnCallActivityKind;
        eventDefinitionKind?: ShapeBpmnEventDefinitionKind;
        id: string;
        incomingIds: string[];
        isShape: boolean;
        kind: BpmnElementKind;
        linkEventSourceIds?: string[];
        linkEventTargetId?: string;
        name: string;
        outgoingIds: string[];
        parentId: string;
        subProcessKind?: ShapeBpmnSubProcessKind;
    }

    Hierarchy (View Summary)

    Properties

    interface ShapeBpmnSemantic {
        callActivityGlobalTaskKind?: GlobalTaskKind;
        callActivityKind?: ShapeBpmnCallActivityKind;
        eventDefinitionKind?: ShapeBpmnEventDefinitionKind;
        id: string;
        incomingIds: string[];
        isShape: boolean;
        kind: BpmnElementKind;
        linkEventSourceIds?: string[];
        linkEventTargetId?: string;
        name: string;
        outgoingIds: string[];
        parentId: string;
        subProcessKind?: ShapeBpmnSubProcessKind;
    }

    Hierarchy (View Summary)

    Properties

    callActivityGlobalTaskKind?: GlobalTaskKind

    Set when the BaseBpmnSemantic.kind relates to a BPMN Call Activity calling a global task.

    -
    callActivityKind?: ShapeBpmnCallActivityKind

    Set when the BaseBpmnSemantic.kind relates to a BPMN Call Activity.

    -
    eventDefinitionKind?: ShapeBpmnEventDefinitionKind

    Set when the BaseBpmnSemantic.kind relates to a BPMN event.

    -
    id: string
    incomingIds: string[]

    IDs of the incoming flows/edges.

    -
    isShape: boolean

    true when relates to a BPMN Shape, false when relates to a BPMN Edge.

    -
    linkEventSourceIds?: string[]

    Set when the BaseBpmnSemantic.kind relates to a BPMN intermediate catch event with ShapeBpmnSemantic.eventDefinitionKind set to ShapeBpmnEventDefinitionKind.LINK.

    -
    linkEventTargetId?: string

    Set when the BaseBpmnSemantic.kind relates to a BPMN intermediate throw event with ShapeBpmnSemantic.eventDefinitionKind set to ShapeBpmnEventDefinitionKind.LINK.

    -
    name: string
    outgoingIds: string[]

    IDs of the outgoing flows/edges.

    -
    parentId: string

    This is the ID of the direct parent of the current element, which can be a:

    +
    callActivityKind?: ShapeBpmnCallActivityKind

    Set when the BaseBpmnSemantic.kind relates to a BPMN Call Activity.

    +
    eventDefinitionKind?: ShapeBpmnEventDefinitionKind

    Set when the BaseBpmnSemantic.kind relates to a BPMN event.

    +
    id: string
    incomingIds: string[]

    IDs of the incoming flows/edges.

    +
    isShape: boolean

    true when relates to a BPMN Shape, false when relates to a BPMN Edge.

    +
    linkEventSourceIds?: string[]

    Set when the BaseBpmnSemantic.kind relates to a BPMN intermediate catch event with ShapeBpmnSemantic.eventDefinitionKind set to ShapeBpmnEventDefinitionKind.LINK.

    +
    linkEventTargetId?: string

    Set when the BaseBpmnSemantic.kind relates to a BPMN intermediate throw event with ShapeBpmnSemantic.eventDefinitionKind set to ShapeBpmnEventDefinitionKind.LINK.

    +
    name: string
    outgoingIds: string[]

    IDs of the outgoing flows/edges.

    +
    parentId: string

    This is the ID of the direct parent of the current element, which can be a:

    • process/participant
    • lane
    • @@ -29,5 +29,5 @@

    For the Boundary events, it is the activity to which the item belongs.

    Special case: it can be undefined when there is a single process without Participant/Pool. In this case, the direct children of the process have no parent.

    -
    subProcessKind?: ShapeBpmnSubProcessKind

    Set when the BaseBpmnSemantic.kind relates to a BPMN sub-process.

    -
    +
    subProcessKind?: ShapeBpmnSubProcessKind

    Set when the BaseBpmnSemantic.kind relates to a BPMN sub-process.

    +
    diff --git a/api/interfaces/ShapeConfiguration.html b/api/interfaces/ShapeConfiguration.html index ae2f8ba319..2b1df2e76a 100644 --- a/api/interfaces/ShapeConfiguration.html +++ b/api/interfaces/ShapeConfiguration.html @@ -1,6 +1,6 @@ -ShapeConfiguration | bpmn-visualization API Documentation
    interface ShapeConfiguration {
        height: number;
        strokeWidth?: number;
        width: number;
        x: number;
        y: number;
    }

    Hierarchy (View Summary)

    • Size
      • ShapeConfiguration

    Properties

    height +ShapeConfiguration | bpmn-visualization API Documentation
    interface ShapeConfiguration {
        height: number;
        strokeWidth?: number;
        width: number;
        x: number;
        y: number;
    }

    Hierarchy (View Summary)

    • Size
      • ShapeConfiguration

    Properties

    height: number
    strokeWidth?: number
    width: number
    x: number
    y: number
    +

    Properties

    height: number
    strokeWidth?: number
    width: number
    x: number
    y: number
    diff --git a/api/interfaces/Size.html b/api/interfaces/Size.html index fb19a980f3..b3f3f458e1 100644 --- a/api/interfaces/Size.html +++ b/api/interfaces/Size.html @@ -1,3 +1,3 @@ -Size | bpmn-visualization API Documentation
    interface Size {
        height: number;
        width: number;
    }

    Hierarchy (View Summary)

    Properties

    height +Size | bpmn-visualization API Documentation
    interface Size {
        height: number;
        width: number;
    }

    Hierarchy (View Summary)

    Properties

    Properties

    height: number
    width: number
    +

    Properties

    height: number
    width: number
    diff --git a/api/interfaces/StyleRegistry.html b/api/interfaces/StyleRegistry.html index 45d2094a76..e2c048ad8f 100644 --- a/api/interfaces/StyleRegistry.html +++ b/api/interfaces/StyleRegistry.html @@ -1,4 +1,4 @@ -StyleRegistry | bpmn-visualization API Documentation
    interface StyleRegistry {
        resetStyle(bpmnElementIds?: string | string[]): void;
        updateStyle(
            bpmnElementIds: string | string[],
            styleUpdate: StyleUpdate,
        ): void;
    }

    Implemented by

    Methods

    resetStyle +StyleRegistry | bpmn-visualization API Documentation
    interface StyleRegistry {
        resetStyle(bpmnElementIds?: string | string[]): void;
        updateStyle(
            bpmnElementIds: string | string[],
            styleUpdate: StyleUpdate,
        ): void;
    }

    Implemented by

    Methods

    • Reset the style that were previously updated to one or more BPMN elements using the updateStyle method.

      Parameters

      • OptionalbpmnElementIds: string | string[]

        The BPMN ID of the element(s) whose style must be reset. @@ -22,7 +22,7 @@

      • CssClassesRegistry#toggleCssClasses to toggle CSS classes on a BPMN element.

      0.37.0

      -
    • Update the style of one or several BPMN elements.

      +
    • Update the style of one or several BPMN elements.

      Parameters

      • bpmnElementIds: string | string[]

        The BPMN ID of the element(s) whose style must be updated.

      • styleUpdate: StyleUpdate

        The style properties to update.

      Returns void

      bpmnVisualization.bpmnElementsRegistry.updateStyle('activity_1', {
      stroke: {
      color: 'red',
      },
      }); @@ -44,4 +44,4 @@
    • CssClassesRegistry#toggleCssClasses to toggle CSS classes on a BPMN element.

    0.33.0

    -
    +
    diff --git a/api/interfaces/Version.html b/api/interfaces/Version.html index 6077e0c726..5acc96ad9a 100644 --- a/api/interfaces/Version.html +++ b/api/interfaces/Version.html @@ -1,6 +1,6 @@ Version | bpmn-visualization API Documentation

    The version of bpmn-visualization and the version of its dependencies.

    -
    interface Version {
        dependencies: Map<string, string>;
        lib: string;
    }

    Properties

    interface Version {
        dependencies: Map<string, string>;
        lib: string;
    }

    Properties

    Properties

    dependencies: Map<string, string>

    The version of the bpmn-visualization dependencies. This may not list all dependencies.

    -
    lib: string

    The bpmn-visualization version.

    -
    +
    lib: string

    The bpmn-visualization version.

    +
    diff --git a/api/interfaces/ZoomConfiguration.html b/api/interfaces/ZoomConfiguration.html index 563851ef1b..00285963d5 100644 --- a/api/interfaces/ZoomConfiguration.html +++ b/api/interfaces/ZoomConfiguration.html @@ -1,15 +1,15 @@ ZoomConfiguration | bpmn-visualization API Documentation

    Zoom specific options.

    -
    interface ZoomConfiguration {
        debounceDelay?: number;
        throttleDelay?: number;
    }

    Properties

    interface ZoomConfiguration {
        debounceDelay?: number;
        throttleDelay?: number;
    }

    Properties

    debounceDelay?: number

    Value in milliseconds responsible for debouncing the zoom function - the actual scaling. A bigger value results in bigger gain in zoom factor before actual scaling takes place. Values must be in the [0, 100] interval, values outside this interval are set to the interval bounds.

    50
     
    -
    throttleDelay?: number

    Value in milliseconds responsible for throttling the mouse scroll event (not every event is firing the function handler, only limited number can lunch handler). A smaller value +

    throttleDelay?: number

    Value in milliseconds responsible for throttling the mouse scroll event (not every event is firing the function handler, only limited number can lunch handler). A smaller value results in more events fired, bigger gain in zoom factor. Values must be in the [0, 100] interval, values outside this interval are set to the interval bounds.

    50
     
    -
    +
    diff --git a/api/types/BpmnElementKind.html b/api/types/BpmnElementKind.html index fae073f15c..b7f657a462 100644 --- a/api/types/BpmnElementKind.html +++ b/api/types/BpmnElementKind.html @@ -1 +1 @@ -BpmnElementKind | bpmn-visualization API Documentation
    +BpmnElementKind | bpmn-visualization API Documentation
    diff --git a/api/types/BpmnEventKind.html b/api/types/BpmnEventKind.html index 0594575460..987843b959 100644 --- a/api/types/BpmnEventKind.html +++ b/api/types/BpmnEventKind.html @@ -1,2 +1,2 @@ BpmnEventKind | bpmn-visualization API Documentation
    +
    diff --git a/api/types/BpmnSemantic.html b/api/types/BpmnSemantic.html index 88c2f7115b..56f3ec6ec0 100644 --- a/api/types/BpmnSemantic.html +++ b/api/types/BpmnSemantic.html @@ -1 +1 @@ -BpmnSemantic | bpmn-visualization API Documentation
    +BpmnSemantic | bpmn-visualization API Documentation
    diff --git a/api/types/EdgeStyleUpdate.html b/api/types/EdgeStyleUpdate.html index 930eb9ad98..5a3816481d 100644 --- a/api/types/EdgeStyleUpdate.html +++ b/api/types/EdgeStyleUpdate.html @@ -9,4 +9,4 @@
  • It is used to apply the opacity defined in the default style of the BPMN element.
  • It can be used when the style is first updated and then needs to be reset to its initial value.
  • -
  • Optionalstroke?: Stroke
  • +
  • Optionalstroke?: Stroke
  • diff --git a/api/types/Fill.html b/api/types/Fill.html index a5b02e3d24..d78a2e82cf 100644 --- a/api/types/Fill.html +++ b/api/types/Fill.html @@ -11,4 +11,4 @@
  • It doesn't use the color set in the BPMN source when the "BPMN in Color" support is enabled. It uses the color defined in the BPMN element default style.
  • If a gradient was set, it will be completely reverted.
  • -
    +
    diff --git a/api/types/FillColorGradient.html b/api/types/FillColorGradient.html index a8d7264921..14d24860f9 100644 --- a/api/types/FillColorGradient.html +++ b/api/types/FillColorGradient.html @@ -18,4 +18,4 @@
  • none for no color.
  • swimlane to apply the fill color of the nearest parent element with the type ShapeBpmnElementKind.LANE or ShapeBpmnElementKind.POOL.
  • -
    +
    diff --git a/api/types/Font.html b/api/types/Font.html index 7d2e017fa7..fdee60548f 100644 --- a/api/types/Font.html +++ b/api/types/Font.html @@ -25,4 +25,4 @@
  • Optionalsize?: number

    The type of the value is int (in px).

    -
  • +
    diff --git a/api/types/GlobalTaskKind.html b/api/types/GlobalTaskKind.html index 897222857c..e34a8af1df 100644 --- a/api/types/GlobalTaskKind.html +++ b/api/types/GlobalTaskKind.html @@ -1,2 +1,2 @@ GlobalTaskKind | bpmn-visualization API Documentation
    GlobalTaskKind:
        | GLOBAL_TASK
        | GLOBAL_TASK_MANUAL
        | GLOBAL_TASK_SCRIPT
        | GLOBAL_TASK_USER
        | GLOBAL_TASK_BUSINESS_RULE

    ShapeBpmnElementKind related to BPMN Global Tasks.

    -
    +
    diff --git a/api/types/GradientDirection.html b/api/types/GradientDirection.html index 1d28283978..6f40b62303 100644 --- a/api/types/GradientDirection.html +++ b/api/types/GradientDirection.html @@ -1 +1 @@ -GradientDirection | bpmn-visualization API Documentation
    GradientDirection:
        | "left-to-right"
        | "right-to-left"
        | "bottom-to-top"
        | "top-to-bottom"
    +GradientDirection | bpmn-visualization API Documentation
    GradientDirection:
        | "left-to-right"
        | "right-to-left"
        | "bottom-to-top"
        | "top-to-bottom"
    diff --git a/api/types/Opacity.html b/api/types/Opacity.html index f02b81b2ea..a06600633f 100644 --- a/api/types/Opacity.html +++ b/api/types/Opacity.html @@ -1 +1 @@ -Opacity | bpmn-visualization API Documentation
    Opacity: "default" | number
    +Opacity | bpmn-visualization API Documentation
    Opacity: "default" | number
    diff --git a/api/types/Overlay.html b/api/types/Overlay.html index 3f27346a57..ffaed79d3c 100644 --- a/api/types/Overlay.html +++ b/api/types/Overlay.html @@ -1 +1 @@ -Overlay | bpmn-visualization API Documentation
    Overlay: { label?: string; position: OverlayPosition; style?: OverlayStyle }

    Type declaration

    +Overlay | bpmn-visualization API Documentation
    Overlay: { label?: string; position: OverlayPosition; style?: OverlayStyle }

    Type declaration

    diff --git a/api/types/OverlayEdgePosition.html b/api/types/OverlayEdgePosition.html index b8911d915a..e865df2186 100644 --- a/api/types/OverlayEdgePosition.html +++ b/api/types/OverlayEdgePosition.html @@ -1 +1 @@ -OverlayEdgePosition | bpmn-visualization API Documentation
    OverlayEdgePosition: "start" | "middle" | "end"
    +OverlayEdgePosition | bpmn-visualization API Documentation
    OverlayEdgePosition: "start" | "middle" | "end"
    diff --git a/api/types/OverlayFill.html b/api/types/OverlayFill.html index 97ccd593d9..c8e5c806ec 100644 --- a/api/types/OverlayFill.html +++ b/api/types/OverlayFill.html @@ -3,4 +3,4 @@

    IMPORTANT: this property is currently not taken into account by the default Overlay. See https://github.com/process-analytics/bpmn-visualization-js/issues/1234.

    To solve this problem, define a color that contains opacity information. For example: color: rgba(0, 0, 255, 0.8)`.

    +
    diff --git a/api/types/OverlayFont.html b/api/types/OverlayFont.html index d96a769a03..967030d13e 100644 --- a/api/types/OverlayFont.html +++ b/api/types/OverlayFont.html @@ -1,4 +1,4 @@ OverlayFont | bpmn-visualization API Documentation
    OverlayFont: { color?: string; size?: number }

    Type declaration

    +
    diff --git a/api/types/OverlayPosition.html b/api/types/OverlayPosition.html index 939ef23b9f..0f0ef8488b 100644 --- a/api/types/OverlayPosition.html +++ b/api/types/OverlayPosition.html @@ -1 +1 @@ -OverlayPosition | bpmn-visualization API Documentation
    +OverlayPosition | bpmn-visualization API Documentation
    diff --git a/api/types/OverlayShapePosition.html b/api/types/OverlayShapePosition.html index 2cadc683b7..f50abc0652 100644 --- a/api/types/OverlayShapePosition.html +++ b/api/types/OverlayShapePosition.html @@ -1 +1 @@ -OverlayShapePosition | bpmn-visualization API Documentation
    OverlayShapePosition:
        | "top-left"
        | "top-right"
        | "top-center"
        | "bottom-left"
        | "bottom-right"
        | "bottom-center"
        | "middle-left"
        | "middle-right"
    +OverlayShapePosition | bpmn-visualization API Documentation
    OverlayShapePosition:
        | "top-left"
        | "top-right"
        | "top-center"
        | "bottom-left"
        | "bottom-right"
        | "bottom-center"
        | "middle-left"
        | "middle-right"
    diff --git a/api/types/OverlayStroke.html b/api/types/OverlayStroke.html index 1ef9af6dd5..fb6d40588f 100644 --- a/api/types/OverlayStroke.html +++ b/api/types/OverlayStroke.html @@ -6,4 +6,4 @@
  • Optionalwidth?: number

    IMPORTANT: this property is currently not taken into account by the default Overlay. See https://github.com/process-analytics/bpmn-visualization-js/issues/1234

  • +
    diff --git a/api/types/OverlayStyle.html b/api/types/OverlayStyle.html index 14214db5eb..665291bdea 100644 --- a/api/types/OverlayStyle.html +++ b/api/types/OverlayStyle.html @@ -1 +1 @@ -OverlayStyle | bpmn-visualization API Documentation
    OverlayStyle: { fill?: OverlayFill; font?: OverlayFont; stroke?: OverlayStroke }

    Type declaration

    +OverlayStyle | bpmn-visualization API Documentation
    OverlayStyle: { fill?: OverlayFill; font?: OverlayFont; stroke?: OverlayStroke }

    Type declaration

    diff --git a/api/types/ParserOptions.html b/api/types/ParserOptions.html index 7d569ed4d9..c0e45beb48 100644 --- a/api/types/ParserOptions.html +++ b/api/types/ParserOptions.html @@ -9,4 +9,4 @@
    false
     
    -
    +
    diff --git a/api/types/RendererOptions.html b/api/types/RendererOptions.html index 6498610823..c1df41de50 100644 --- a/api/types/RendererOptions.html +++ b/api/types/RendererOptions.html @@ -6,4 +6,4 @@

    0.35.0

    -
    +
    diff --git a/api/types/ShapeStyleUpdate.html b/api/types/ShapeStyleUpdate.html index e8bc2b66af..bdfbabf199 100644 --- a/api/types/ShapeStyleUpdate.html +++ b/api/types/ShapeStyleUpdate.html @@ -1 +1 @@ -ShapeStyleUpdate | bpmn-visualization API Documentation
    ShapeStyleUpdate: EdgeStyleUpdate & { fill?: Fill }
    +ShapeStyleUpdate | bpmn-visualization API Documentation
    ShapeStyleUpdate: EdgeStyleUpdate & { fill?: Fill }
    diff --git a/api/types/Stroke.html b/api/types/Stroke.html index 97d68f1f30..b28310eba0 100644 --- a/api/types/Stroke.html +++ b/api/types/Stroke.html @@ -18,4 +18,4 @@

    The default value resets the width to the value defined in the default style of the BPMN element. It can be used when the style is first updated and then needs to be reset to its initial value.

    WARNING: Changing the stroke width of Activities may be misleading as the default stroke widths have a meaning according to the BPMN Specification. For example, updating the stroke width of a task using the same value as the default stroke width of a Call Activity can be confusing. In this case, you should also change another property such as the stroke color to allow the user to differentiate between them.

    -
    +
    diff --git a/api/types/StyleUpdate.html b/api/types/StyleUpdate.html index cc3abe98c6..c355de5a27 100644 --- a/api/types/StyleUpdate.html +++ b/api/types/StyleUpdate.html @@ -1 +1 @@ -StyleUpdate | bpmn-visualization API Documentation
    +StyleUpdate | bpmn-visualization API Documentation
    diff --git a/api/types/StyleWithOpacity.html b/api/types/StyleWithOpacity.html index c6218fc757..b8fe83771e 100644 --- a/api/types/StyleWithOpacity.html +++ b/api/types/StyleWithOpacity.html @@ -8,4 +8,4 @@
  • It is used to apply the opacity defined in the default style of the BPMN element.
  • It can be used when the style is first updated and then needs to be reset to its initial value.
  • -
    +
    diff --git a/api/variables/BpmnStyleIdentifier.html b/api/variables/BpmnStyleIdentifier.html index c6be6dfe52..892b18eb1b 100644 --- a/api/variables/BpmnStyleIdentifier.html +++ b/api/variables/BpmnStyleIdentifier.html @@ -1,3 +1,3 @@ BpmnStyleIdentifier | bpmn-visualization API Documentation

    Variable BpmnStyleIdentifierConst Experimental

    BpmnStyleIdentifier: {
        EDGE: string;
        EDGE_END_FILL_COLOR: string;
        EDGE_START_FILL_COLOR: string;
        EVENT_BASED_GATEWAY_KIND: string;
        EVENT_DEFINITION_KIND: string;
        EXTRA_CSS_CLASSES: string;
        GLOBAL_TASK_KIND: string;
        IS_INITIATING: string;
        IS_INSTANTIATING: string;
        IS_INTERRUPTING: string;
        MARKERS: string;
        MESSAGE_FLOW_ICON: string;
        SUB_PROCESS_KIND: string;
    } = ...

    Define BPMN specific keys used in mxGraph styles. Use constants defined in this class instead of hard coded string values.

    WARN: You may use it to customize the BPMN Theme as suggested in the examples. But be aware that the way the default BPMN theme can be modified is subject to change.

    -

    Type declaration

    • EDGE: string
    • EDGE_END_FILL_COLOR: string
    • EDGE_START_FILL_COLOR: string
    • EVENT_BASED_GATEWAY_KIND: string
    • EVENT_DEFINITION_KIND: string
    • EXTRA_CSS_CLASSES: string
    • GLOBAL_TASK_KIND: string
    • IS_INITIATING: string
    • IS_INSTANTIATING: string
    • IS_INTERRUPTING: string
    • MARKERS: string
    • MESSAGE_FLOW_ICON: string
    • SUB_PROCESS_KIND: string
    +

    Type declaration

    diff --git a/api/variables/MarkerIdentifier.html b/api/variables/MarkerIdentifier.html index 3d1ec6c21f..7530411cfd 100644 --- a/api/variables/MarkerIdentifier.html +++ b/api/variables/MarkerIdentifier.html @@ -1,2 +1,2 @@ MarkerIdentifier | bpmn-visualization API Documentation

    Variable MarkerIdentifierConst Experimental

    MarkerIdentifier: { ARROW_DASH: string } = ...

    WARN: You may use it to customize the BPMN Theme as suggested in the examples. But be aware that the way the default BPMN theme can be modified is subject to change.

    -

    Type declaration

    • ARROW_DASH: string
    +

    Type declaration

    diff --git a/api/variables/StyleDefault.html b/api/variables/StyleDefault.html index 0cf9e3ff78..62717949e8 100644 --- a/api/variables/StyleDefault.html +++ b/api/variables/StyleDefault.html @@ -5,4 +5,4 @@
  • SHAPE_ACTIVITY_MARKER_ICON_MARGIN: number

    Spacing between 2 markers.

  • SHAPE_ACTIVITY_MARKER_ICON_SIZE: number

    Theoretical width of a marker. Used to position the markers when there are several markers.

  • SHAPE_ACTIVITY_TOP_MARGIN: number

    Margin between the top of icon and the top of the activity.

    -
  • SHAPE_ARC_SIZE: number
  • STROKE_WIDTH_THICK: number
  • STROKE_WIDTH_THIN: number
  • SUB_PROCESS_TRANSACTION_INNER_RECT_ARC_SIZE: number
  • SUB_PROCESS_TRANSACTION_INNER_RECT_OFFSET: number
  • TEXT_ANNOTATION_BORDER_LENGTH: number
  • TEXT_ANNOTATION_FILL_COLOR: string
  • +
  • SHAPE_ARC_SIZE: number
  • STROKE_WIDTH_THICK: number
  • STROKE_WIDTH_THIN: number
  • SUB_PROCESS_TRANSACTION_INNER_RECT_ARC_SIZE: number
  • SUB_PROCESS_TRANSACTION_INNER_RECT_OFFSET: number
  • TEXT_ANNOTATION_BORDER_LENGTH: number
  • TEXT_ANNOTATION_FILL_COLOR: string
  • diff --git a/api/variables/mxgraph.html b/api/variables/mxgraph.html index fee94c78ee..74c48a64c0 100644 --- a/api/variables/mxgraph.html +++ b/api/variables/mxgraph.html @@ -5,4 +5,4 @@

    0.30.0

    -
    +
    diff --git a/index.html b/index.html index cd47aac814..02560c12fe 100644 --- a/index.html +++ b/index.html @@ -2011,7 +2011,7 @@