{"repo":"swiftlysingh/excalidraw-cli","free":true,"listed":false,"github":"https://github.com/swiftlysingh/excalidraw-cli","clone":"git clone https://github.com/swiftlysingh/excalidraw-cli.git","description":"Generate editable Excalidraw diagrams from text or JSON for agents and developer workflows","language":"TypeScript","stars":299,"topics":["ai-agents","automation","cli","developer-tools","diagramming","excalidraw","typescript"],"license":"MIT","category":"cli-tools","readme_excerpt":"excalidraw-cli Create Excalidraw flowcharts and diagrams from text-based DSL or JSON. Features - Text-based DSL for quick flowchart creation - JSON API for programmatic use - Auto-layout using ELK.js (Eclipse Layout Kernel) - Multiple flow directions : TB (top-bottom), BT, LR, RL - Export to PNG & SVG with dark mode, custom backgrounds, scale, and padding - Programmable API for integration into other tools Installation Requires Node =20.19.0 . Node 18 is no longer supported. Using npm From Source (Local Development) Direct Usage (No Install) Quick Start Create from DSL Export to Image DSL Syntax Syntax Element Description -------- --------- ------------- [Label] Rectangle Process steps, actions {Label} Diamond Decisions, conditionals (Label) Ellipse Start/End points [[Label]] Database Data storage [Label @fillStyle:hachure @backgroundColor:#a5d8ff] Styled node Add inline node style attributes - Arrow Forward connection Bidirectional Arrow Connection with arrowheads on both ends -- Dashed Arrow Dashed connection - \"text\" - Labeled Arrow Connection with a double-quoted label - 'text' - Labeled Arrow Connection with a single-quoted label Dashed Bidirectional Arrow Dashed connection with arrowheads on both ends Example DSL Edge label escaping Edge labels must use the fully specified form [A] - \"label\" - [B] (or single quotes instead of double quotes). Mixed forms like [A] -- \"x\" - [B] are rejected because they are ambiguous. Shell escaping tips: Node Styling Add shape-level styli","default_branch":null,"files":null,"tree":[],"storefront":"/r/swiftlysingh","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/swiftlysingh/excalidraw-cli/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}