Visualize, collaborate, and evolve the software architecture with always actual and live diagrams from your code
docs | playground | demo
LikeC4 is a modeling language for describing software architecture and tools to generate diagrams from the model.
LikeC4 is inspired by C4 Model and Structurizr DSL, but provides some flexibility.
You customize or define your own notation, element types, and any number of nested levels in architecture model.
Perfectly tailored to your needs.
LikeC4 source:
Run CLI to preview:
npx likec4 startAnd result:
Template repository - likec4/template
Deployed - https://template.likec4.dev
StackBlitz does not support extensions, so no validation, syntax highlighting and etc.
You can try with github.dev and suggested extension.
Check the Tutorial - a bit better overview of LikeC4.
This repository's contents is divided across four primary sections:
/docscontains the content for our docs site at likec4.dev/examplesour local development / examples project/integrationintegration tests (not yet implemented)/packagescontains the source for packages
core: model and type definitionscreate-likec4: scaffolding tooldiagrams: react components rendering diagramsgenerators: LikeC4 -> Other formatsgraph: Operations over architecture model, like compute viewslanguage-server: parser and language serverlayouts: layout algorithms for viewslikec4: CLI, published to npm aslikec4tsconfig: typescript configurationvscode: vscode extensionvscode-preview: preview panel in vscode extension
Development tasks:
yarn typecheck: TypeScript compilationyarn build: Build packagesyarn test: Test packagesyarn vitest:ui: Opens Vitest UI
For VSCode:
- Task
Run Extensionto start a new VSCode instance with the extension loaded.
This project is released under the MIT License


