Skip to content
Layout a diagram without di
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib parallel subprocess rendering correctly (#2) Jul 21, 2019
test/fixtures init Sep 7, 2016 docs(README): rephrase maintained notice May 15, 2019
example.js init Sep 7, 2016
index.js init Sep 7, 2016
package.json init Sep 7, 2016

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


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

bpmn-moddle-auto-layout is built on top of bpmn-moddle.


Preconditions: The diagram has to have exactly one single startevent. Up to now, elements with children are not supported.

var AutoLayout = require('./index');

var xmlWithoutDi = '<?xml version="1.0" encoding="UTF-8"?>' +
                      '<bpmn:definitions>' +
                          see example.js for closer look at the
                          passed in xml

var autoLayout = new AutoLayout();




Use under the terms of the MIT license.

You can’t perform that action at this time.