bpmn-auto-layout 0.2.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,6 +1,3 @@
1
- > :warning: __This project is not officially maintained.__ You are still welcome to contribute, e.g. by fixing issues or creating enhancements.
2
-
3
-
4
1
  # bpmn-auto-layout
5
2
 
6
3
  [![CI](https://github.com/bpmn-io/bpmn-auto-layout/actions/workflows/CI.yml/badge.svg)](https://github.com/bpmn-io/bpmn-auto-layout/actions/workflows/CI.yml)
@@ -15,16 +12,20 @@ This library works in [Node.js](https://nodejs.org/) and in the browser.
15
12
  To layout diagrams these must have __exactly one single start event__.
16
13
 
17
14
  ```javascript
18
- import AutoLayout from 'bpmn-auto-layout';
15
+ import { layoutProcess } from 'bpmn-auto-layout';
19
16
 
20
17
  const diagramXML = '<bpmn:defintions ...></bpmn:defintions>';
21
18
 
22
- const autoLayout = new AutoLayout();
23
-
24
- const layoutedDiagramXML = await autoLayout.layoutProcess(diagramXML);
19
+ const layoutedDiagramXML = await layoutProcess(diagramXML);
25
20
 
26
21
  console.log(layoutedDiagramXML);
27
22
  ```
23
+ ## Unsupported Concepts and elements
24
+
25
+ The Tool can currently not properly layout diagrams containing any of the following:
26
+ - Pools
27
+ - Data/Message Flows and Objects, Data Stores
28
+ - event sub-processes
28
29
 
29
30
 
30
31
  ## Resources