You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[SOLUTION] BPMN Diagrams with Claude AI (lanes, events, tasks, flows and layouts) #132
🚀 Programmatically Generating BPMN Diagrams in Modelio (With Jython + Template)
After extensive experimentation, I’ve developed a reliable method to generate BPMN process diagrams programmatically in Modelio using Jython macros.
This post summarizes the key findings and provides a ready-to-use template.
Once you place the template in your Modelio macro folder, you can simply ask Claude:
“Create a BPMN diagram for an expense approval process with Employee, Manager, and Finance lanes.”
Claude will generate a complete macro, including:
Lane definitions
Tasks, events, and gateways
Sequence flows (with labels)
Automatic layout positioning
▶️ Running the Script in Modelio
Copy the generated macro into the Script view.
Select a Package in the browser.
Run the script.
Done!
📦 What the Template Supports
The template solves the usual Modelio macro quirks and provides:
✔️ Modelio 5.x compatibility
✔️ Unlimited lanes
✔️ User Tasks, Service Tasks, Events, Gateways
✔️ Automatic flow generation
✔️ Configurable spacing & lane alignment
✔️ Clean, reusable structure for AI-generated macros
🎉 Happy Modeling!
With this template + Claude, creating BPMN diagrams becomes ridiculously easy and scalable.
Perfect for complex workflows, fast prototyping, or teaching BPMN.
changed the title [-]BPMN Diagrams with Claude AI (lanes, events, tasks, flows and layouts)[/-][+][SOLUTION] BPMN Diagrams with Claude AI (lanes, events, tasks, flows and layouts)[/+]on Dec 31, 2025
Activity
[-]BPMN Diagrams with Claude AI (lanes, events, tasks, flows and layouts)[/-][+][SOLUTION] BPMN Diagrams with Claude AI (lanes, events, tasks, flows and layouts)[/+]agilebotanist commentedon Dec 31, 2025
[UPDATE] Complete version - better layout, more elements, much faster
Modelio Automation Repo
agilebotanist commentedon Dec 31, 2025
Work with