Skip to content

Releases: process-analytics/bpmn-visualization-js

0.1.7

11 Aug 09:57
Compare
Choose a tag to compare

Thanks to all the contributors of this release 🌈: @aibcmars, @benjaminParisel, @csouchet, @dependabot and @tbouffard

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

Highlights

Render Associations

The association direction is also rendered (it is generally used for the data store and data object references that will be supported later)

associations
Rendering of the 0.1.6 version is in green

Detect and render some Activity Markers

The loop and multi-instantiation (both sequential and parallel) activity markers are now fully detected and rendered. The expand markers rendering has been reworked.
The marker size and position will be adjusted in the future, see #465.

activity_markers

Render Call Activity

All activity markers currently supported are also rendered.
Notice that call activities calling a Global Task are no more displayed, as we don't currently support Global Task.

call_activities

Render Signal Event

signal_event_general

signal_event_boundary

Correctly detect events referencing top level defined events

These are events in the BPMN source with an eventDefinitionRef attribute referencing a event defined at top level/globally.
They were previously not detected or, for the mutliple event (currently not supported), detected as a message event.

events_to_level_ref

All together

See the whole changes on the B.2.0 file, compared to version 0.1.6

B 2 0_lib_0 1 6_to_0 1 7

Examples

We now provide a set of examples that demonstrates the current usage of the library and its extensibility capabilities.
Important notice: The way how the lib is used or extended is subject to rapid changes. Consider the examples as in early-access.

Resources

What's Changed

🚀 BPMN support

  • [FEAT] Detect the Parallel Multi-instance Marker of an activity (#469) @csouchet
  • [FEAT] Detect the Sequential Multi-instance Marker of an Activity (#468) @csouchet
  • [FEAT] Render Events which have the definition defined by the attribute eventDefinitionRef (#445) @csouchet
  • [FEAT] Detect the Loop Marker of an activity (#456) @csouchet

🚄 BPMN rendering

🐛 Bug Fixes

  • [FIX] Detect expanded/collapsed Call Activity calling Process (#474) @csouchet
  • [FIX] A boundary event can only be attached to an activity (#442) @csouchet
  • [BUG] Fix some types of BPMN Json model (#444) @csouchet

⤵️ Library Integration

📝 Documentation

🎮 Demo and Examples

📦 Dependency updates

👻 Maintenance

  • [INFRA] release-drafter consider new labels (#472) @tbouffard
  • [INFRA] fix dependabot configuration (#480) @tbouffard
  • [INFRA] setup dependabot configuration (#476) @tbouffard
  • [INFRA] do not minify public API in the bundle (#461) @tbouffard
  • [REFACTOR] Mutualize marker and isExpanded fields in the internal model (#470) @csouchet
  • [INFRA] Activate noImplicitAny compiler option (#460) @csouchet
  • [REFACTOR] activity markers style mutualization (#467) @tbouffard
  • [REFACTOR] Replace Arrays by Maps in the Converters (#463) @csouchet
  • [INFRA] Activate strictFunctionTypes compiler option (#459) @csouchet
  • [INFRA] Activate alwaysStrict compiler option (#458) @csouchet
  • [INFRA] Activate strictBindCallApply compiler options (#457) @csouchet
  • [TEST] use external BPMN files (#452) @tbouffard
  • [REFACTOR] no processing in MxGraphConfigurator constructor (#448) @tbouffard
  • [REFACTOR] Remove json2typescript dependency (#443) @csouchet
  • [REFACTOR] Unit json test: Replace some tests by test templates (#439) @csouchet
  • [REFACTOR] Replace string content for BPMN content by json object, in unit json tests (#437) @csouchet
  • [REFACTOR] single painted icon size computation function (#426) @tbouffard

0.1.6

16 Jul 14:07
Compare
Choose a tag to compare

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

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

Highlights

Message Flow

Detect all kind of message flows, partial render

message-flow

Render Sub Process

Collapsed and expanded, standard and event sub process

sub-process

Text Annotation

Detect and render Text Annotation, detect Associations

text-annotation

Signal events detection

boundary

signal_boundary_events

others

signal

All together

See the whole changes on the B.2.0 file, compared to version 0.1.5

B 2 0_0 1 5_to_0 1 6

What's Changed

🚀 BPMN support

🚄 BPMN rendering

🐛 Bug Fixes

  • [BUG] Fix bad value of messageVisibleKind on Edge (#423) @csouchet

📝 Documentation

  • [INFRA] improve release-drafter configuration and documentation (#385) @tbouffard
  • [DOC] remove reference to 'JS' in library name (#365) @tbouffard

📦 Dependency updates

  • [INFRA] Bump mxgraph-type-definitions from 1.0.2 to 1.0.3 (#409) @tbouffard

👻 Maintenance

0.1.5

30 Jun 13:14
Compare
Choose a tag to compare

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

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

Highlights

Boundary events

image

Sub-process

Detection of Collapsed & Expanded Embedded & Event sub-processes
image

Labels

Font

0.1.4 render

image

0.1.5 render

image

Bounds

0.1.4 render

image

0.1.5 render

image

All together

See the whole changes on the B.2.0 file, compare to version 0.1.4
B 2 0_0 1 4_to_0 1 5

What's Changed

🚀 BPMN support

  • [FEAT] Display Event Sub-Process (#367) @csouchet
  • [FEAT] Display Embedded Sub-Process (Sub-Process) (#362) @csouchet
  • [FEAT] Display Interrupting Timer Intermediate Event Attached to an Activity Boundary (#335) @csouchet
  • [FEAT] Display Non-interrupting Timer Intermediate Event Attached to an Activity Boundary (#336) @csouchet
  • [FEAT] Display Non-interrupting Message Intermediate Event Attached to an Activity Boundary (#330) @csouchet
  • [FEAT] Display Interrupting Message Intermediate Event Attached to an Activity Boundary (#323) @csouchet
  • [FEAT] Parse Bounds of the Shape/Edge label (#286) @csouchet
  • [FEAT] Parse Font of the Shape/Edge label (#283) @csouchet

🚄 BPMN rendering

  • [FEAT] Render Non-interrupting Timer Intermediate Event Attached to an Activity Boundary (#341) @csouchet
  • [FEAT] Render Non-interrupting Message Intermediate Event Attached to an Activity Boundary (#340) @csouchet
  • [FEAT] Render Interrupting Timer Intermediate Event Attached to an Activity Boundary (#339) @csouchet
  • [FEAT] Render Interrupting Message Intermediate Event Attached to an Activity Boundary (#338) @csouchet
  • [FEAT] Render Edge Label (#327) @aibcmars
  • [FEAT] render shape label bounds (#299) @tbouffard
  • [REFACTOR] Refactor ratio from parent in the icon painter (#298) @csouchet
  • [REFACTOR] Introduce icons painter service (#292) @csouchet
  • [FEAT] consider all Font attributes on rendering (#288) @tbouffard
  • [FEAT] Render the Label Font of a Edge (#285) @csouchet
  • [FEAT] Render the Label Font of a Shape (#284) @csouchet

🐛 Bug Fixes

  • [FIX] disable mxgraph folding to avoid requesting unavailable images (#337) @tbouffard

📝 Documentation

👻 Maintenance

  • [INFRA] allow to debug Typescript code (#363) @tbouffard
  • [TEST] check label values in mxgraph model e2e tests (#348) @tbouffard
  • [INFRA] do not use 'ts-mxgraph' in production code (#326) @aibcmars
  • [INFRA] add editorconfig for cross IDE formatting settings (#328) @tbouffard
  • [INFRA] use a tagged version of ts-mxgraph (#324) @aibcmars
  • [REFACTOR] Refactor ratio from parent in the icon painter (#298) @csouchet
  • [INFRA] make a demo archive available on changes (#297) @tbouffard
  • [REFACTOR] simplify relative coordinates computation (#300) @tbouffard
  • [INFRA] introduce new convenient build scripts (#296) @tbouffard
  • [REFACTOR] Introduce icons painter service (#292) @csouchet
  • [REFACTOR] expected shape and bounds interface in tests (#289) @tbouffard
  • [INFRA] release-drafter continuously update github draft release (#281) @tbouffard

0.1.4

02 Jun 14:27
Compare
Choose a tag to compare

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

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

Highlights

Sequence Flows rendering

0.1.3 render

image

0.1.4 render

image

New icon for User Task

image

New activities detection

Call activity

Now detect

  • collapsed
  • expanded
  • calling a global task

Render of the B.1.0.bpmn file from BPMN-MIWG

image

Receive task

Now detect with a temporary render.

image

What's Changed

🚀 BPMN support

🚄 BPMN rendering

📝 Documentation

👻 Maintenance

  • [REFACTOR] avoid duplication of shape utility methods (#263) @aibcmars

0.1.3

20 May 13:09
Compare
Choose a tag to compare

Content

See milestone 0.1.3

Highlights

Tasks rendering

Abstract, Service and User tasks are now rendered by following the BPMN specification

0.1.3 tasks

For the record, here is the 0.1.2 rendering

0.1.2 tasks

Events detection and rendering

The lib now

  • detects intermediate catch and throw events
  • renders
    • none event: intermediate
    • message event: start, end, catch and throw
    • timer event: start, intermediate

BPMN example file: all_events_types.bpmn.zip

image

Gateway detection and rendering

The lib now

  • detects inclusive gateways
  • renders exclusive, inclusive, parallel gateways

gateways rendered by 0.1.3

Sequence flow detection

The lib now detects default and conditional sequence flows

Sequence flows detection example

  • default in pink
  • conditional in green with a diamond at the start of the edge

PR 257 conditional sequence flow with starting diamond

0.1.2

21 Apr 14:54
Compare
Choose a tag to compare

Content

See milestone 0.1.2

Highlights

Events rendering

None start and end events, terminate end event are now displayed with a shape following the BPMN specification.

The following shows how we improved the Event elements from version 0.1.0 to 0.1.2

bpmn_event_rendering_improvements_0 1 2

Drag&Drop BPMN file

The demo/example now supports drag&drop in addition to select a file to load

bpmn-viusalization_0 1 2_drag_and_drop

Documentation

The documentation is now available at https://process-analytics.github.io/bpmn-visualization-js/ and is regularly updated by our @process-analytics-bot friend
It includes BPMN Support Roadmap, architecture, ...

0.1.1

24 Mar 15:15
Compare
Choose a tag to compare

Content

See milestone 0.1.1

Highlights

Waypoints support

Display A.2.0.pmn from https://github.com/bpmn-miwg/bpmn-miwg-test-suite
Notice that the rendering will be improved in the future

  • label positioning: #101
  • encoded xml character (
 in the following example): #132

Without waypoints

image

With waypoints

image

Lanes and Pools + extra BPMN elements

Using a sample BPMN diagram with a single pool with 3 lanes

in version 0.1.0

image

in version 0.1.1

image

0.1.0

09 Mar 14:45
Compare
Choose a tag to compare

Initial Release
See milestone 0.1.0