
Visual Paradigm is proud to announce a groundbreaking enhancement to VPasCode: the world’s first true BPMN Diagram-as-Code capability.
For years, developers and architects have relied on text-based diagramming tools like PlantUML, Mermaid, Graphviz, and D2. While these tools excel at flowcharts, sequence diagrams, and entity relationships, they share a critical limitation: none of them natively support BPMN (Business Process Model and Notation).
Until now, if you wanted a compliant BPMN diagram, you had to use a visual drag-and-drop tool. If you wanted “code,” you had to settle for non-standard flowcharts that lacked BPMN semantics. Visual Paradigm has bridged this gap, making VPasCode the only solution in the market that allows you to write simple text and generate fully compliant, enterprise-grade BPMN models with full traceability, simulation, and analysis capabilities.
The Gap in the “Diagram-as-Code” Market
Popular text-based diagramming languages have long ignored BPMN:

-
PlantUML: Supports activity diagrams and sequence diagrams, but lacks native BPMN task types, gateways, and event semantics.
-
Mermaid: Offers flowcharts and Gantt charts, but cannot render standard BPMN pools, lanes, or specific task markers (e.g., Service Tasks vs. User Tasks).
-
Graphviz/D2: Excellent for general graph visualization, but devoid of business process modeling standards.
This left a void for technical teams who wanted the speed of coding with the rigor of BPMN. You could either have speed (text-based, non-standard) or compliance (visual, BPMN-standard), but never both.
How VPasCode Solves It: Smart Rendering, Not Just Drawing
VPasCode does not simply draw shapes based on text. Instead, it uses a sophisticated engine that interprets a standard Swimlane Activity Diagram syntax enhanced with BPMN stereotypes.
When you write code in VPasCode, you are not creating a generic picture. You are defining a semantic model. VPasCode translates this text into a native Visual Paradigm BPMN model. This means the resulting diagram is not just an image; it is a live, intelligent model within the Visual Paradigm ecosystem.

The Unique Advantage: Full Enterprise Traceability
Because VPasCode generates real BPMN objects, you gain capabilities that no other “diagram-as-code” tool can offer:
-
Model Traceability: Link your BPMN elements to requirements, user stories, and system components.
-
Process Simulation: Run simulations to test process efficiency, bottlenecks, and resource allocation directly from the generated model.
-
Code Generation: Generate executable code or configuration files from your BPMN processes.
-
Desktop Integration: Seamlessly send your text-generated diagram to Visual Paradigm Desktop for advanced refinement, keeping all model data intact.
This makes VPasCode the only diagram-as-code choice for BPMN that delivers true enterprise modeling power.
A Human-Friendly Syntax Based on PlantUML Activities
To make BPMN accessible to developers, VPasCode uses a lightweight syntax inspired by PlantUML activity diagrams. It feels like coding, but it renders as strict BPMN.
Example: Insurance Claim Process

@startuml
title Insurance Claim Process BPD
<style>
element { MaximumWidth 160 }
</style>
|Policyholder|
start
:<<UserTask>>
Submit Claim;
:<<UserTask>>
Upload Supporting Documents;
|Claims:Intake|
:<<ServiceTask>>
Validate Policy Coverage;
:<<SendTask>>
Send Acknowledgement to Policyholder;
|Claims:Assessment|
:<<UserTask>>
Assess Claim Details;
:<<BusinessRuleTask>>
Calculate Payout Amount;
if (Requires Adjuster Review?) then (yes)
:<<UserTask>>
Assign Adjuster;
:<<ManualTask>>
Perform Field Investigation;
else (no)
:<<ScriptTask>>
Auto-Approve Claim;
endif
:<<UserTask>>
Approve Final Decision;
|Claims:Payout|
if (Claim Approved?) then (yes)
:<<ServiceTask>>
Schedule Payment;
:<<ReceiveTask>>
Receive Payment Confirmation;
else (no)
:<<SendTask>>
Notify Policyholder of Rejection;
endif
:<<SendTask>>
Send Settlement Notification;
|Policyholder|
:<<ReceiveTask>>
Receive Settlement;
stop
@enduml

Key Syntax Features
-
Stereotypes for Task Types: Use
<<UserTask>>,<<ServiceTask>>,<<BusinessRuleTask>>, etc., to define the exact nature of the work. This ensures the rendered diagram carries the correct BPMN semantic markers. -
Swimlanes as Pools/Lanes: Use the
|Parent:Child|syntax (e.g.,|Claims:Intake|) to define organizational structures. VPasCode maps these to BPMN Pools and Lanes automatically. -
Gateways via Logic: Use standard
if/elseandfork/joinlogic to create Exclusive, Parallel, and Inclusive Gateways.
AI-Powered BPMN Generation for Enterprise Modeling
The most powerful feature of VPasCode is its ability to leverage AI to generate standard, compliant BPMN from natural language.
Unlike other AI tools that generate generic flowcharts, VPasCode’s AI understands BPMN semantics. You can prompt:
“Generate a BPMN diagram for an employee onboarding process involving HR, IT, and the Hiring Manager, including approval gates and system provisioning tasks.”
VPasCode will:
-
Generate the PlantUML-inspired text code.

-
Render it as a valid BPMN diagram.

-
Create underlying model elements that support simulation, traceability, and code generation.

This allows business analysts and architects to rapidly prototype complex processes using natural language, while ensuring the output meets enterprise modeling standards.
Why VPasCode is the Only Choice for BPMN-as-Code
| Feature | PlantUML / Mermaid / Others | Visual Paradigm VPasCode |
|---|---|---|
| Text-Based Editing | ✅ | ✅ |
| BPMN Standard Compliance | ❌ | ✅ |
| Semantic Task Types | ❌ | ✅ |
| Process Simulation | ❌ | ✅ |
| Model Traceability | ❌ | ✅ |
| Code Generation from Model | ❌ | ✅ |
| AI Generation of Standard BPMN | ❌ | ✅ |
From Text to Enterprise Model
VPasCode redefines what “diagram-as-code” means for business processes. It is not just about drawing shapes faster; it is about modeling smarter.

-
Write simple, readable text using familiar PlantUML-like syntax.
-
Render instant BPMN diagrams with correct semantics.
-
Refine using AI or manual edits.
-
Export to Visual Paradigm Desktop for full enterprise modeling, simulation, and integration.
For developers, architects, and business analysts who demand both speed and standards, VPasCode is the only tool that delivers true BPMN-as-Code.
Try VPasCode today and experience the future of BPMN modeling.