Visual Paradigm is excited to announce full support for AI-generated UML Communication Diagrams inside VPasCode, our diagram-as-code platform.

Instant AI Generation in VPasCode
Mapping out real-time message sequences and object relationships no longer requires manual syntax setup or complex drawing steps. VPasCode now allows you to generate complete Communication Diagrams directly using plain-English prompts.
Example Prompt:
“Generate a UML Communication Diagram for a user login flow with multi-factor authentication (MFA).”
VPasCode’s AI engine analyzes your interaction flow, identifies participating components, maps out spatial relationships, and numbers the message sequence automatically.

Prompt-Driven Editing: Let AI Handle the Layout
Because Communication Diagrams focus on spatial interactions without a rigid text-syntax standard, tweaking lines or numbering by hand isn’t an efficient use of time.
The real strength of this release is letting AI handle both creation and updates. Instead of manually editing text scripts, simply tell the AI inside VPasCode how to adjust your architecture:
-
“Add an API Gateway between the UI and the Auth Service.”
-
“Include a step for token verification before checking credentials.”
-
“Re-sequence the MFA challenge steps to execute asynchronously.”
The AI updates the underlying structure and re-renders the updated interaction layout instantly.

Example:
@startuml
title User Login with MFA
skinparam {
vpDiagramType CommunicationDiagram
}
left to right direction
object "User" as User
object "Login UI" as UI
object "Auth Service" as Auth
object "Credential Store" as Cred
object "MFA Service" as MFA
object "Token Manager" as Token
User ---> UI : 1: Enter username and password
UI ---> Auth : 2: Submit credentials
Auth ---> Cred : 3: Verify password hash
Cred ---> Auth : 4: Credentials valid
Auth ---> MFA : 5: Request second factor challenge
MFA ---> UI : 6: Prompt for one-time code
UI ---> MFA : 7: Submit one-time code
MFA ---> MFA : 8: Validate code and time window
MFA ---> Auth : 9: MFA verified
Auth ---> Token : 10: Issue session token
Token ---> UI : 11: Return session token
UI ---> User : 12: Grant access to application
@enduml

Extending PlantUML for Communication Diagrams
Standard PlantUML does not natively support UML Communication Diagrams (formerly known as Collaboration Diagrams).
To solve this, Visual Paradigm introduced the use of PlantUML object structures specifically for Communication Diagrams. This extension allows VPasCode to render spatial object interactions and numbered message flows while retaining the portability, speed, and version-control benefits of a text-based format.
Integrated Software Documentation Workflow
Because VPasCode runs on lightweight text scripts, your AI-generated Communication Diagrams integrate smoothly across your technical ecosystem:
-
OpenDocs: Embed live spatial models directly into technical documentation and API specs.
-
NotesKeep: Save generated interaction scripts and design rationale for team architectural reviews.
-
Export Options: Download SVG vector graphics or PNG images for engineering presentations and pull requests.
👉 Learn more about the AI UML Communication Diagram Generator
Experience AI Communication Diagrams in VPasCode
Open VPasCode, enter your system interaction prompt, and let AI build and refine your UML Communication Diagrams instantly.












