Skip to content

0.34.0

Compare
Choose a tag to compare
@csouchet csouchet released this 04 May 16:28
· 506 commits to refs/heads/master since this release

Among the highlights of this release is the addition of a new API to remove all CSS classes from HTML elements of BPMN diagram, the improvement of the linking of EdgeBpmnSemantic and ShapeBpmnSemantic, and the usage of the "Update Style" API in the "Elements Identification" demo.

Thanks to all the contributors of this release 🌈: @brendanlaschke, @csouchet and @tbouffard

See milestone 0.34.0 to get the list of issues covered by this release.

Highlights

New API to remove all CSS classes of BPMN elements

A new API called removeAllCssClasses has been added to the BpmnElementsRegistry, allowing users to remove all CSS classes from HTML elements of BPMN elements.

image

Also, the TS doc of BpmnElementsRegistry has been updated to be more English-friendly.

ℹ️ For more details, visit #2666.

Enhanced linking of EdgeBpmnSemantic and ShapeBpmnSemantic

The incomingIds and outgoingIds properties of ShapeBpmnElement are now assigned from the Flow, resulting in improved linking of Edge and Shape in the internal model.

As a result, the incomingIds and outgoingIds properties of ShapeBpmnSemantic now store the links calculated from the EdgeBpmnSemantic.
image

ℹ️ For more details, visit #2521 and #2638.

"Elements Identification" Demo Uses the "Update Style" API

The "Elements Identification" demo now includes a radio button to select the mode to apply the style: CSS or API.
The style is updated according to the selected BPMN kind and style method.

Style by CSS

image

Style by API

image

Additionally, we have included the missing TS Doc API for StyleWithOpacity.

image

ℹ️ For more details, visit #2630.

What's Changed

Full Changelog: v0.33.1...v0.34.0

🧲 BPMN diagram usability

  • feat: enrich links between edges and shapes in the internal model (#2638) @csouchet

🌈 BPMN diagram styling

  • feat: add an API to remove all CSS classes of BPMN elements (#2666) @csouchet

🎮 Demo and Examples

  • feat: use the "Update Style" API in the "Elements Identification" demo (#2630) @csouchet

📦 Dependency updates

👻 Maintenance