Visual diagramming tools have always had a place in modern development. Being able to drag, drop, and visually structure complex architecture is indispensable when designing systems.
However, with the rise of AI tools like Gemini, the modern developer workflow is evolving fast. Today, we don't always want to start diagrams from scratch - we want to generate initial models using natural language, and fine-tune as text.
Visual Paradigm has been a major player in visual modeling software for decades, and they've recently released a tool called VPasCode - a unified diagram-as-code platform designed to blend modern AI generation with flexible modeling power. I decided to give it a spin to see how it fits into an AI-assisted workflow.
Why Diagram-as-Code Fits the Modern AI Workflow
While traditional visual canvas editing is still great for quick manual adjustments, Diagram-as-Code shines in the era of AI for three main reasons:
- Natural LLM Output: Large Language Models (LLMs) output text and code natively. Generating text-based markup like PlantUML or Mermaid takes an LLM just seconds.
- Speed & Efficiency: Writing or prompting markup lets you build massive class or sequence diagrams without placing every shape manually.
- Multi-Engine Flexibility: You aren't tied to a single dialect.
VPasCode acts as a unified diagram-as-code engine supporting PlantUML, Mermaid, Graphviz, ECharts, Markmap, SQL, and many programming languages under one roof.
My Workflow: From Gemini Prompt to Polished Diagram
Here is a practical look at how I use Gemini AI + VPasCode to build robust class diagrams in a fraction of the time.
Step 1: Prompting Gemini for the Initial Model
Instead of laying out boxes manually, I give Gemini a high-level architectural prompt:
"Generate a PlantUML class diagram for an e-commerce platform covering Orders, Customers, Payments, and Inventory with proper object relationships."
Gemini outputs structured markup in seconds:
@startuml
class Customer {
+String id
+String name
+placeOrder()
}
class Order {
+String orderId
+Date createdDate
+calculateTotal()
}
class Payment {
+String paymentId
+Boolean process()
}
Customer "1" -- "0..*" Order
Order "1" -- "1" Payment
@enduml
Step 2: Instant Rendering & Touch-Ups in VPasCode
I copy Gemini's output directly into VPasCode. The class diagram renders instantly.
From there, I get complete editing freedom:
- Text-First Adjustments: I can quickly edit classes, attributes, operations, and relationships as code and see the visual updates in real time.
- Custom Themes & Export: Switching visual themes takes a click, and once the design is ready, I can export it as a clean PNG to drop straight into a design document or report.
- Seamless URL Sharing: This is one of my favorite features—diagrams can be shared directly via a dynamic URL. As you edit, the URL updates live to reflect your latest state. You can simply copy and send that link to teammates for instant sharing without forcing anyone to sign up or download files.
The Best of Both Worlds
You don't have to choose between visual design and text-based speed anymore. By combining AI's generative power with VPasCode's multi-syntax support (PlantUML, Mermaid, Graphviz), software design and documentation becomes faster, smarter, and far more flexible.
👉 Want to try it yourself? Check out VPasCode and test your AI-generated diagrams today.
Have you tried using AI to bootstrap your architectural diagrams? What markup language do you find yourself using most? Let’s chat in the comments!

Top comments (0)