Standalone Editors Examples

A series of examples on how to use the Standalone Editors in different applications.

Examples

  • State Control: Shows how to leverage the Editor API to undo/redo changes to a Decision, get its contents and download an SVG of the diagram.
  • Read Only: Loads the editor in "Read Only" mode, where a Decision or Process can be displayed and navigated but not changed.
  • With Included Models (DMN Editor only): Displays how Decisions can be imported into other Decisions as "Included Models", using the resources parameter from the DMN Editor.

Build

To build the examples, execute one of the following commands on the root folder of the project:

npm run build

Run

To start the examples application, execute the following command on the root folder of the project:

npm run start

Open http://localhost:9000 to see the list of files bundled by webpack, then choose an example: