{
  "id": 22661815,
  "title": "📐 Diagram-as-Code: Graphviz HTML Labels to Match Existing Visuals",
  "url": "https://urgent.news/2026/11/29/diagram-as-code-graphviz-html-labels-to-match-existing-visuals",
  "topic": "culture",
  "section": "Culture",
  "published": "2026-11-29T21:10:23.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/zenika/diagram-as-code-graphviz-html-labels-to-match-existing-visuals-48b4"
  },
  "original_language": null,
  "account": "Dot language is a powerful tool that allows for the creation of diagram-as-code. One of its unique features is the ability to use HTML-like labels within nodes. This feature enables the creation of complex, pixel-perfect components within graph definitions. The documentation for Graphviz, the engine that PlantUML relies on for layout, is not well-known for advertising this capability. However, once discovered, it can be used to create rich, styled diagrams directly within DOT, without the need to switch to another tool.",
  "summary": "Initial thoughts 1. Beyond bubbles and arrows 2. The pixel-perfect toolkit Container cards with nested tables Embedding icons in cells Surgical connections with ports Dynamic width calculation 3. Real-world showcase: CI pipeline visualization The input: structured data The transformation: data to DOT The rendering pipeline 4. Integrating into your workflow Wrapping up Further reading Most diagram…",
  "summary_source": "publisher",
  "key_points": [
    "Dot language enables diagram-as-code creation",
    "HTML-like labels within nodes for complex components",
    "Graphviz documentation lacks advertising this feature"
  ],
  "editors_take": null,
  "opinion": false,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "machine_translated": false,
  "ai_generated": true,
  "disclaimer": "Accounts, briefs, key points, the editor’s take and translations are written by software from other outlets’ reporting and may contain errors. A summary whose summary_source is \"publisher\" is the outlet’s own feed text. Always check the linked original."
}