Skip to content

Files

Latest commit

 

History

History
28 lines (18 loc) · 1.64 KB

File metadata and controls

28 lines (18 loc) · 1.64 KB

Compare bpmn-visualization and kie-editors-standalone when loading Local BPMN Diagrams

Javascript example

Overview

This example let you compare bpmn-visualization with kie-editors-standalone on

  • BPMN elements rendering
  • API usage

WARN
The following applies at least to kie-editors-standalone@0.13.0

  • The javascript bundle is very large (12 MB, more than 3 MB after compression), very slow to load and generates a lot of error in the console.
  • It is unable to display most of the C.x diagrams from the miwg-test-suite (parsing errors). See also KOGITO-5395.

Implementation notes

This example has been created by following the BPMN and DMN Standalone Editors article.

To avoid side effects between the 2 libraries, each of them is using a dedicated div to display and interact with the BPMN diagram. This is similar to what it is implemented in the bpmn-js comparison example.
The div are located exactly at the same place on the HTML page and only one is displayed at a given time.

On library switch, the corresponding div is displayed, and the one of the other library is hidden.