Skip to content

Layout BPMN diagrams, generating missing DI information.

Notifications You must be signed in to change notification settings

gabrieldesar/bpmn-auto-layout

 
 

Repository files navigation

⚠️ This project is not officially maintained. You are still welcome to contribute, e.g. by fixing issues or creating enhancements.

bpmn-auto-layout

Get a layouted diagram of a bpmn-process without graphical representation.

Usage

Preconditions: The diagram has to have exactly one single startevent.

var AutoLayout = require('bpmn-auto-layout');

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

var autoLayout = new AutoLayout();

(async () => {
  var layoutedDiagramXML = await autoLayout.layoutProcess(diagramXML);

  console.log(layoutedDiagramXML);
})();

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

About

Layout BPMN diagrams, generating missing DI information.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%