Diagrams as Code with Vizdom

Vizdom is a modern, code-first approach to diagram creation and maintenance. Sign up to sync your graphs online in real-time with your codebase.

See the Examples

Github
No Need for DSLs
Vizdom focuses on using code to create diagrams, allowing you to leverage familiar programming languages for definition and manipulation. But if you already have diagrams in a DSL like DOT, we’ve got you covered.
Dynamic and Accurate
Your diagrams are directly linked to your codebase, automatically updating as your code changes, ensuring they are always current and accurate.
Simple, Self-Contained Solution
Vizdom requires no additional dependencies, allowing for easy integration for both online and offline renderings.
Built for the Future
With plans to support Python soon and other languages to follow, Vizdom is designed to integrate seamlessly with a wide range of tech stacks.

Frequently asked questions

Do I need an account?

Only if you want or need a place to view your graphs online and create embeddable share links.

What makes Vizdom different from other diagramming tools?

Unlike traditional tools that require manual updates and rely on DSLs, Vizdom supports programmatic creation, allowing for automated updates and eliminating the risk of outdated diagrams.

How does it work?

Vizdom is a self-contained layout and rendering engine written in Rust. It automatically computes layout and rendering for node/edge shapes and text labels. It comes embedded with the NotoSans font to render glyph outlines, avoiding the need to rely on system fonts.

What languages does Vizdom currently support?

Currently, Vizdom supports TypeScript/JavaScript. We are actively working on adding Python support, with plans to expand to other popular programming languages in the future.

Do I need to learn a new language or DSL to use Vizdom?

No, Vizdom is designed to be used with existing programming languages. You can use your knowledge of TypeScript/JavaScript (and soon Python) to create and manage diagrams without needing to learn a new DSL.

Can Vizdom be used offline?

Yes, Vizdom is a self-contained solution, which means you can render diagrams offline without any additional dependencies.

How does Vizdom help prevent 'doc rot'?

By tying your diagrams directly to your codebase, Vizdom ensures that they are always in sync with the latest code changes. This eliminates the risk of documentation becoming outdated, a common issue with static diagrams.

What are the future plans for Vizdom?

We want to support more languages and improve more layout algorithms and options.