Introduction
Lineout is a collaborative editor for cloud architecture and UML diagrams, with AWS cost estimates and a plain JSON format you can generate, version and render from code.
Start here#
| To… | Read |
|---|---|
| Draw your first diagram | Quick start |
| Connect Claude Code or claude.ai | Connecting Claude |
| Connect another AI assistant | MCP server |
| Write or generate diagrams as JSON | Diagram format |
| Render diagrams in CI or for a README | Command line |
| Convert a Mermaid diagram | Mermaid diagrams |
| Estimate what an architecture costs on AWS | Cost estimates |
| Keep a page in sync with a file in a repo | Synced pages |
Diagrams as code#
A page is a list of nodes and the arrows between them:
{
"nodes": [
{
"id": "api",
"icon": "Amazon-API-Gateway",
"position": { "x": 0, "y": 0 },
"label": "API"
},
{
"id": "fn",
"icon": "AWS-Lambda",
"position": { "x": 192, "y": 0 },
"label": "Orders handler"
}
],
"arrows": [
{
"id": "a1",
"start": { "nodeId": "api", "side": "right", "offset": 0 },
"end": { "nodeId": "fn", "side": "left", "offset": 0 }
}
]
}Paste it onto a canvas, drop it on a project to import it, or render it locally:
uv tool install "lineout-cli[jpg]"
lineout arch.json -o arch.svgAll topics#
DashboardCreate projects and diagrams, find them again and import diagram files.EditorDraw with icons, shapes, groups and arrows, style them and organize pages.CollaborationWork in teams, invite people and share single diagrams with a link.ExportDownload diagrams as PNG, JPG or SVG images, or as JSON.Cost estimatesEstimate what an architecture costs on AWS each month and take the estimate to the AWS Pricing Calculator.Claude CodeLet Claude draw, edit and explain your diagrams with the Lineout plugin, keep it up to date and fix problems.MCP serverConnect other AI assistants to Lineout and control what they can access.Command lineRender diagram files to SVG, PNG or JPG with the lineout command line tool.Plans and billingCompare the plans and their limits, upgrade a team and manage its subscription.AccountManage your profile, preferences, connected apps and account.ReferenceThe diagram JSON format, the Mermaid diagrams Lineout reads, every keyboard shortcut and the release notes.