On This Page

Auto-Layout Engine

The auto-layout engine arranges the elements and connections of your BPMN diagram automatically, producing a clean, readable layout in either vertical or horizontal notation. It runs behind the scenes whenever a model is generated or mined, and you can trigger it yourself to tidy up a hand-drawn diagram.

ProcessMind Auto Layout menu on the design canvas

Understanding the Two Notations

The layout engine supports two directions:

  • Horizontal notation: The process flows from left to right, with start events on the left and end events on the right. This is the classic process diagram style and works well for most models.
  • Vertical notation: The process flows from top to bottom, which suits tall processes, portrait printing, or models with many parallel branches.

You can switch between the two at any time without redrawing anything manually: the engine repositions the whole model.

Running Auto-Layout

To arrange a model automatically:

  1. Open the process menu on the design canvas.
  2. Choose Auto Layout Model.
  3. Pick the layout direction (vertical or horizontal) and confirm: the engine repositions elements and re-routes connections.

The engine also runs automatically when a model is generated with AI or mined from data, so those models arrive already laid out. After you edit a model by hand, run auto-layout again to keep it clean.

Auto-Layout for a Single Connection

You don’t always need to re-layout the whole model. From a connection’s menu, choose Auto layout to straighten and re-route that edge. This is handy after you move an element and a connection becomes tangled.

When to Use Auto-Layout

Use the auto-layout engine when you:

  • Just generated a model with AI and want to switch its direction.
  • Imported a BPMN file whose layout is messy: see importing BPMN.
  • Moved many elements by hand and want a clean arrangement again.
  • Preparing for export: a tidy layout makes exported images look professional.