# gridgram > Grid-based diagram rendering library and CLI. Renders `.gg` DSL or a TypeScript `DiagramDef` to SVG / PNG / JSON with deterministic layout and 6,000+ built-in Tabler icons. gridgram is designed for agent/LLM workflows. The `gg` CLI exposes `render`, `icons` (semantic icon search), `llm` (this reference as a single bundle), and `license`. ## Home - [Gridgram](https://gridgram.ideamans.com/en.md) ## Guide - [Quick start](https://gridgram.ideamans.com/en/guide.md) - [CLI](https://gridgram.ideamans.com/en/guide/cli.md) - [Color](https://gridgram.ideamans.com/en/guide/color.md) - [Theme](https://gridgram.ideamans.com/en/guide/color/theme.md) - [Connector](https://gridgram.ideamans.com/en/guide/connector.md) - [Labels](https://gridgram.ideamans.com/en/guide/connector/labels.md) - [Styles](https://gridgram.ideamans.com/en/guide/connector/styles.md) - [Waypoints](https://gridgram.ideamans.com/en/guide/connector/waypoints.md) - [Document](https://gridgram.ideamans.com/en/guide/document.md) - [Grid](https://gridgram.ideamans.com/en/guide/document/grid.md) - [Merging](https://gridgram.ideamans.com/en/guide/document/merging.md) - [First Gridgram](https://gridgram.ideamans.com/en/guide/first-gridgram.md) - [Frame](https://gridgram.ideamans.com/en/guide/frame.md) - [Icon](https://gridgram.ideamans.com/en/guide/icon.md) - [Badge](https://gridgram.ideamans.com/en/guide/icon/badge.md) - [Custom icons](https://gridgram.ideamans.com/en/guide/icon/custom.md) - [Size](https://gridgram.ideamans.com/en/guide/icon/size.md) - [Install](https://gridgram.ideamans.com/en/guide/install.md) - [Note](https://gridgram.ideamans.com/en/guide/note.md) - [Region](https://gridgram.ideamans.com/en/guide/region.md) - [Spanning](https://gridgram.ideamans.com/en/guide/region/spanning.md) - [Styling](https://gridgram.ideamans.com/en/guide/region/styling.md) ## Developer - [Developer Guide](https://gridgram.ideamans.com/en/developer.md) - [Configuration](https://gridgram.ideamans.com/en/developer/config.md) - [Diagnostics](https://gridgram.ideamans.com/en/developer/diagnostics.md) - [Integrations](https://gridgram.ideamans.com/en/developer/integrations.md) - [Parser](https://gridgram.ideamans.com/en/developer/parser.md) - [Quickstart (TS API)](https://gridgram.ideamans.com/en/developer/quickstart.md) - [`renderDiagram` and friends](https://gridgram.ideamans.com/en/developer/render.md) - [Specification](https://gridgram.ideamans.com/en/developer/spec.md) - [Types](https://gridgram.ideamans.com/en/developer/types.md) ## AI Guide - [AI Guide](https://gridgram.ideamans.com/en/ai.md) - [Claude Code plugin tutorial](https://gridgram.ideamans.com/en/ai/claude-plugin.md) - [CLI reference — gg llm and gg icons](https://gridgram.ideamans.com/en/ai/cli.md) - [context7 tutorial](https://gridgram.ideamans.com/en/ai/context7.md) - [gh skill tutorial](https://gridgram.ideamans.com/en/ai/gh-skill.md) - [llms.txt — public discovery files](https://gridgram.ideamans.com/en/ai/llms-txt.md) ## Gallery - [Gallery](https://gridgram.ideamans.com/en/gallery.md) - [AI / ML](https://gridgram.ideamans.com/en/gallery/ai-ml.md) - [API design](https://gridgram.ideamans.com/en/gallery/api-design.md) - [Business workflow](https://gridgram.ideamans.com/en/gallery/business-workflow.md) - [CI / CD](https://gridgram.ideamans.com/en/gallery/ci-cd.md) - [Customer journey](https://gridgram.ideamans.com/en/gallery/customer-journey.md) - [Data pipelines](https://gridgram.ideamans.com/en/gallery/data-pipelines.md) - [Database](https://gridgram.ideamans.com/en/gallery/database.md) - [Delivery](https://gridgram.ideamans.com/en/gallery/delivery.md) - [Education](https://gridgram.ideamans.com/en/gallery/education.md) - [Event-driven](https://gridgram.ideamans.com/en/gallery/event-driven.md) - [Infrastructure](https://gridgram.ideamans.com/en/gallery/infrastructure.md) - [IoT / hardware](https://gridgram.ideamans.com/en/gallery/iot-hardware.md) - [Knowledge graph](https://gridgram.ideamans.com/en/gallery/knowledge-graph.md) - [Manufacturing](https://gridgram.ideamans.com/en/gallery/manufacturing.md) - [Microservices](https://gridgram.ideamans.com/en/gallery/microservices.md) - [Org chart](https://gridgram.ideamans.com/en/gallery/org-chart.md) - [Project planning](https://gridgram.ideamans.com/en/gallery/project-planning.md) - [Release & roadmap](https://gridgram.ideamans.com/en/gallery/release-roadmap.md) - [Sales funnel](https://gridgram.ideamans.com/en/gallery/sales-funnel.md) - [Security & auth](https://gridgram.ideamans.com/en/gallery/security-auth.md) - [Software architecture](https://gridgram.ideamans.com/en/gallery/software-architecture.md) - [Supply chain](https://gridgram.ideamans.com/en/gallery/supply-chain.md) - [Testing](https://gridgram.ideamans.com/en/gallery/testing.md) - [Warehouse](https://gridgram.ideamans.com/en/gallery/warehouse.md) ## Editor - [Editor](https://gridgram.ideamans.com/en/editor.md) ## LLM reference (single bundle) - [gridgram LLM reference](https://gridgram.ideamans.com/llms-full.txt): full CLI + .gg grammar + icons + JSON schema + examples, concatenated for one-shot context.