0.5.0 • Published 2 months ago

bpmn-auto-layout v0.5.0

Weekly downloads
357
License
MIT
Repository
github
Last release
2 months ago

bpmn-auto-layout

CI

Get a layouted diagram of a BPMN process without graphical representation.

Usage

This library works in Node.js and in the browser.

To layout diagrams these must have exactly one single start event.

import { layoutProcess } from 'bpmn-auto-layout';

const diagramXML = '<bpmn:defintions ...></bpmn:defintions>';

const layoutedDiagramXML = await layoutProcess(diagramXML);

console.log(layoutedDiagramXML);

Unsupported Concepts and elements

The Tool can currently not properly layout diagrams containing any of the following:

  • Pools
  • Data/Message Flows and Objects, Data Stores
  • event sub-processes

Resources

Building

npm install
npm run all

As part of the test run, visual test cases are generated to test/generated/test.html.

License

MIT

0.5.0

2 months ago

0.4.0

10 months ago

0.3.0

11 months ago

0.2.0

12 months ago

0.1.1

1 year ago

0.1.0

4 years ago