EdgeStyleUpdate: {
    font?: Font;
    opacity?: Opacity;
    stroke?: Stroke;
}

Type declaration

  • Optionalfont?: Font
  • Optionalopacity?: Opacity

    The value must be between 0 and 100:

    • If the set value is less than 0, the used value is 0.
    • If the set value is greater than 100, the used value is 100.

    NOTE: opacity does not apply to the font style.

    Notes about the default special keyword:

    • 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