[
  {
    "version": "0.2.8",
    "date": "2026-11-24T18:03:25Z",
    "kind": "patch",
    "changes": [],
    "links": [
      {
        "label": "GitHub release",
        "url": "https://github.com/metrograph-labs/ireko/releases/tag/v0.2.8"
      },
      {
        "label": "Changelog",
        "url": "https://github.com/metrograph-labs/ireko/blob/70610a95e5a0bfe638ec421cb640895cb8bc9a3f/packages/ireko/CHANGELOG.md#028"
      },
      {
        "label": "npm",
        "url": "https://www.npmjs.com/package/ireko/v/0.2.8"
      }
    ]
  },
  {
    "version": "0.2.7",
    "date": "2026-11-24T01:35:36-05:00",
    "kind": "patch",
    "changes": [
      {
        "commit": null,
        "text": "A graph router that throws, or a missing or bad route, gives `ROUTER_FAILED`.",
        "packages": [
          "ireko"
        ]
      },
      {
        "commit": null,
        "text": "A route that goes through a box gives the new warning `EDGE_THROUGH_BOX`, with the boxes in its `detail`.",
        "packages": [
          "ireko"
        ]
      },
      {
        "commit": null,
        "text": "The graph router operates after the router of the option `router`.",
        "packages": [
          "ireko"
        ]
      },
      {
        "commit": null,
        "text": "The gzip size of `layout` goes from 18.05 kB to 18.57 kB.",
        "packages": [
          "ireko"
        ]
      },
      {
        "commit": null,
        "text": "The new option `graphRouter` takes an object with a `route` function.",
        "packages": [
          "ireko"
        ]
      },
      {
        "commit": null,
        "text": "The new types `GraphRouter`, `GraphRouterInput`, `GraphRouterResult`, `GraphNode`, `GraphEdge`, `GraphBox` and `GraphRoute` tell the shape.",
        "packages": [
          "ireko"
        ]
      },
      {
        "commit": null,
        "text": "The obstacles are all boxes, also the containers.",
        "packages": [
          "ireko"
        ]
      }
    ],
    "links": [
      {
        "label": "GitHub release",
        "url": "https://github.com/metrograph-labs/ireko/releases/tag/v0.2.7"
      },
      {
        "label": "Changelog",
        "url": "https://github.com/metrograph-labs/ireko/blob/70610a95e5a0bfe638ec421cb640895cb8bc9a3f/packages/ireko/CHANGELOG.md#027"
      },
      {
        "label": "npm",
        "url": "https://www.npmjs.com/package/ireko/v/0.2.7"
      }
    ]
  },
  {
    "version": "0.2.6",
    "date": "2026-11-22T20:19:24-05:00",
    "kind": "patch",
    "changes": [
      {
        "commit": null,
        "text": "`toSVG` draws each line of such a label at the center of the box, with the line height of `fitText`.",
        "packages": [
          "ireko"
        ]
      },
      {
        "commit": null,
        "text": "A label with line breaks (`\\n`) has one line for each part.",
        "packages": [
          "ireko"
        ]
      },
      {
        "commit": null,
        "text": "In 0.2.5, `fitText` measured such a label as one line, and `toSVG` drew it on one line.",
        "packages": [
          "ireko"
        ]
      },
      {
        "commit": null,
        "text": "The arrowhead has the color of its edge: the color `edge` of the theme, or `extraEdge` for an extra edge.",
        "packages": [
          "ireko"
        ]
      },
      {
        "commit": null,
        "text": "The live renderers `mountSvg`, `mountDom` and `mountCanvas` draw each label on one line, as before.",
        "packages": [
          "ireko"
        ]
      },
      {
        "commit": null,
        "text": "The new option `arrows` of `toSVG` gives each edge an arrowhead at its target.",
        "packages": [
          "ireko"
        ]
      },
      {
        "commit": null,
        "text": "The new option `dashes` of `toSVG` draws the extra edges with solid lines when it is false.",
        "packages": [
          "ireko"
        ]
      }
    ],
    "links": [
      {
        "label": "GitHub release",
        "url": "https://github.com/metrograph-labs/ireko/releases/tag/v0.2.6"
      },
      {
        "label": "Changelog",
        "url": "https://github.com/metrograph-labs/ireko/blob/70610a95e5a0bfe638ec421cb640895cb8bc9a3f/packages/ireko/CHANGELOG.md#026"
      },
      {
        "label": "npm",
        "url": "https://www.npmjs.com/package/ireko/v/0.2.6"
      }
    ]
  },
  {
    "version": "0.2.5",
    "date": "2026-11-18T09:05:46-05:00",
    "kind": "patch",
    "changes": [
      {
        "commit": null,
        "text": "`relaxForces` keeps the positions in typed lists of numbers, and the separation passes find the near boxes with a grid.",
        "packages": [
          "ireko"
        ]
      },
      {
        "commit": null,
        "text": "`theta` is a field of the types `RelaxOptions` and `ForceOptions`.",
        "packages": [
          "ireko"
        ]
      },
      {
        "commit": null,
        "text": "At 100 boxes or fewer, the first use in a new process is slower than 0.2.4.",
        "packages": [
          "ireko"
        ]
      },
      {
        "commit": null,
        "text": "The build bundles `@mark1russell7/text` 0.0.15 (before, 0.0.5).",
        "packages": [
          "ireko"
        ]
      },
      {
        "commit": null,
        "text": "The first job of the workflow measured 7 rounds on an AMD EPYC 7763 with Node.js 24.22.",
        "packages": [
          "ireko"
        ]
      },
      {
        "commit": null,
        "text": "The gzip size of `ireko/strategies/force` goes from 2.75 kB to 4.50 kB, and its size limit goes from 3.2 kB to 4.7 kB.",
        "packages": [
          "ireko"
        ]
      },
      {
        "commit": null,
        "text": "The layout schema of the strategy `force` has the field `theta`, and the builder `force` accepts it.",
        "packages": [
          "ireko"
        ]
      },
      {
        "commit": null,
        "text": "The new option `theta` is a number from 0 to `MAX_THETA`, which is 1.",
        "packages": [
          "ireko"
        ]
      },
      {
        "commit": null,
        "text": "The new workflow `bench-relax.yml` measures `relaxForces` against 0.2.4 on pictures of 50 to 1600 boxes, each arm in a fresh process.",
        "packages": [
          "ireko"
        ]
      },
      {
        "commit": null,
        "text": "With a `theta` of 0.9, the number is 0.69 at 200 boxes, 0.49 at 400 boxes, 0.28 at 800 boxes and 0.18 at 1600 boxes.",
        "packages": [
          "ireko"
        ]
      },
      {
        "commit": null,
        "text": "With a `theta` of more than 0, a far group of boxes repels a box as one box.",
        "packages": [
          "ireko"
        ]
      },
      {
        "commit": null,
        "text": "With a `theta` of more than 0, the positions are near the positions of a `theta` of 0, but they are not the same.",
        "packages": [
          "ireko"
        ]
      },
      {
        "commit": null,
        "text": "With the default, the number is 0.94 at 200 boxes, 0.86 at 400 boxes, 0.76 at 800 boxes and 0.73 at 1600 boxes.",
        "packages": [
          "ireko"
        ]
      }
    ],
    "links": [
      {
        "label": "GitHub release",
        "url": "https://github.com/metrograph-labs/ireko/releases/tag/v0.2.5"
      },
      {
        "label": "Changelog",
        "url": "https://github.com/metrograph-labs/ireko/blob/70610a95e5a0bfe638ec421cb640895cb8bc9a3f/packages/ireko/CHANGELOG.md#025"
      },
      {
        "label": "npm",
        "url": "https://www.npmjs.com/package/ireko/v/0.2.5"
      }
    ]
  },
  {
    "version": "0.2.4",
    "date": "2026-11-17T16:38:58-05:00",
    "kind": "patch",
    "changes": [
      {
        "commit": null,
        "text": "The smoke test of the tarball fails when a source map names a path in the pnpm store.",
        "packages": [
          "ireko"
        ]
      },
      {
        "commit": null,
        "text": "The source map of `ireko/svg` names the bundled `@mark1russell7/text` by its path in `node_modules`.",
        "packages": [
          "ireko"
        ]
      }
    ],
    "links": [
      {
        "label": "GitHub release",
        "url": "https://github.com/metrograph-labs/ireko/releases/tag/v0.2.4"
      },
      {
        "label": "Changelog",
        "url": "https://github.com/metrograph-labs/ireko/blob/70610a95e5a0bfe638ec421cb640895cb8bc9a3f/packages/ireko/CHANGELOG.md#024"
      },
      {
        "label": "npm",
        "url": "https://www.npmjs.com/package/ireko/v/0.2.4"
      }
    ]
  },
  {
    "version": "0.2.3",
    "date": "2026-11-13T02:27:10-05:00",
    "kind": "patch",
    "changes": [
      {
        "commit": null,
        "text": "The build bundles `@mark1russell7/text` 0.0.5 (before, 0.0.2).",
        "packages": [
          "ireko"
        ]
      }
    ],
    "links": [
      {
        "label": "GitHub release",
        "url": "https://github.com/metrograph-labs/ireko/releases/tag/v0.2.3"
      },
      {
        "label": "Changelog",
        "url": "https://github.com/metrograph-labs/ireko/blob/70610a95e5a0bfe638ec421cb640895cb8bc9a3f/packages/ireko/CHANGELOG.md#023"
      },
      {
        "label": "npm",
        "url": "https://www.npmjs.com/package/ireko/v/0.2.3"
      }
    ]
  },
  {
    "version": "0.2.2",
    "date": "2026-11-09T00:19:10-05:00",
    "kind": "patch",
    "changes": [
      {
        "commit": null,
        "text": "The escape of the text of an SVG comes from `escapeAttribute` of `@mark1russell7/text`, the home of the escape functions.",
        "packages": [
          "ireko"
        ]
      },
      {
        "commit": null,
        "text": "The SVG output is the same: `&amp;`, `&lt;`, `&gt;`, `&quot;` and `&#39;` in place of the five characters.",
        "packages": [
          "ireko"
        ]
      }
    ],
    "links": [
      {
        "label": "GitHub release",
        "url": "https://github.com/metrograph-labs/ireko/releases/tag/v0.2.2"
      },
      {
        "label": "Changelog",
        "url": "https://github.com/metrograph-labs/ireko/blob/70610a95e5a0bfe638ec421cb640895cb8bc9a3f/packages/ireko/CHANGELOG.md#022"
      },
      {
        "label": "npm",
        "url": "https://www.npmjs.com/package/ireko/v/0.2.2"
      }
    ]
  },
  {
    "version": "0.2.1",
    "date": "2026-11-08T08:10:13Z",
    "kind": "patch",
    "changes": [
      {
        "commit": null,
        "text": "Each size of a node was valid, but a sum of very large sizes can overflow.",
        "packages": [
          "ireko"
        ]
      },
      {
        "commit": null,
        "text": "In this version, `layout` does not throw for it.",
        "packages": [
          "ireko"
        ]
      },
      {
        "commit": null,
        "text": "The check adds approximately 0.33 kB gzip to each entry with `layout`.",
        "packages": [
          "ireko"
        ]
      },
      {
        "commit": null,
        "text": "The engine uses a finite value in its place.",
        "packages": [
          "ireko"
        ]
      },
      {
        "commit": null,
        "text": "The union of two far boxes can be wider than the largest number.",
        "packages": [
          "ireko"
        ]
      },
      {
        "commit": null,
        "text": "Thus each number of a layout is finite.",
        "packages": [
          "ireko"
        ]
      },
      {
        "commit": null,
        "text": "When the grid fallback cannot arrange the children, each child goes to the origin of the node.",
        "packages": [
          "ireko"
        ]
      }
    ],
    "links": [
      {
        "label": "GitHub release",
        "url": "https://github.com/metrograph-labs/ireko/releases/tag/v0.2.1"
      },
      {
        "label": "Changelog",
        "url": "https://github.com/metrograph-labs/ireko/blob/70610a95e5a0bfe638ec421cb640895cb8bc9a3f/packages/ireko/CHANGELOG.md#021"
      },
      {
        "label": "npm",
        "url": "https://www.npmjs.com/package/ireko/v/0.2.1"
      }
    ]
  },
  {
    "version": "0.2.0",
    "date": "2026-11-08T02:06:32-05:00",
    "kind": "minor",
    "changes": [
      {
        "commit": null,
        "text": "A dependency map of 250 boxes and 293 edges had 3710 crossings of its routed edges with 0.1.5.",
        "packages": [
          "ireko"
        ]
      },
      {
        "commit": null,
        "text": "A long edge in the strategy `layers` gets a virtual node in each layer between its ends.",
        "packages": [
          "ireko"
        ]
      },
      {
        "commit": null,
        "text": "Each example of the gallery keeps its layout: the golden files do not change.",
        "packages": [
          "ireko"
        ]
      },
      {
        "commit": null,
        "text": "The crossing reduction adds approximately 0.4 kB gzip to each entry with the strategy `layers`.",
        "packages": [
          "ireko"
        ]
      },
      {
        "commit": null,
        "text": "The ordering counts the crossings after each pass, and it keeps the order with the fewest crossings.",
        "packages": [
          "ireko"
        ]
      }
    ],
    "links": [
      {
        "label": "GitHub release",
        "url": "https://github.com/metrograph-labs/ireko/releases/tag/v0.2.0"
      },
      {
        "label": "Changelog",
        "url": "https://github.com/metrograph-labs/ireko/blob/70610a95e5a0bfe638ec421cb640895cb8bc9a3f/packages/ireko/CHANGELOG.md#020"
      },
      {
        "label": "npm",
        "url": "https://www.npmjs.com/package/ireko/v/0.2.0"
      }
    ]
  },
  {
    "version": "0.1.5",
    "date": "2026-11-04T06:29:11-05:00",
    "kind": "patch",
    "changes": [
      {
        "commit": null,
        "text": "Old and new files gave the same values on 128,508 calls, with 0 differences.",
        "packages": [
          "ireko"
        ]
      },
      {
        "commit": null,
        "text": "One call of `grid` takes 3 % to 5 % less time, but a full layout shows no change.",
        "packages": [
          "ireko"
        ]
      },
      {
        "commit": null,
        "text": "The `radial` strategy takes 11 % to 12 % less time for a layout of 1,111 or 11,111 nodes.",
        "packages": [
          "ireko"
        ]
      },
      {
        "commit": null,
        "text": "The five generated modules (`measure`, `place`, `shape`, `grid` and `radial`) come from one commit of Vex.",
        "packages": [
          "ireko"
        ]
      },
      {
        "commit": null,
        "text": "The gzip size of `layout` goes from 17,095 B to 17,337 B in `ireko`, and from 18,986 B to 19,229 B in `ireko/shapes`.",
        "packages": [
          "ireko"
        ]
      },
      {
        "commit": null,
        "text": "The size limits do not change.",
        "packages": [
          "ireko"
        ]
      }
    ],
    "links": [
      {
        "label": "GitHub release",
        "url": "https://github.com/metrograph-labs/ireko/releases/tag/v0.1.5"
      },
      {
        "label": "Changelog",
        "url": "https://github.com/metrograph-labs/ireko/blob/70610a95e5a0bfe638ec421cb640895cb8bc9a3f/packages/ireko/CHANGELOG.md#015"
      },
      {
        "label": "npm",
        "url": "https://www.npmjs.com/package/ireko/v/0.1.5"
      }
    ]
  },
  {
    "version": "0.1.4",
    "date": "2026-11-04T04:51:04-05:00",
    "kind": "patch",
    "changes": [
      {
        "commit": null,
        "text": "The new option `linkedShape` of `createEngine` sets the code that gives the shape of a linked node.",
        "packages": [
          "ireko"
        ]
      },
      {
        "commit": null,
        "text": "The new subpath `ireko/shapes` exports `layout`.",
        "packages": [
          "ireko"
        ]
      }
    ],
    "links": [
      {
        "label": "GitHub release",
        "url": "https://github.com/metrograph-labs/ireko/releases/tag/v0.1.4"
      },
      {
        "label": "Changelog",
        "url": "https://github.com/metrograph-labs/ireko/blob/70610a95e5a0bfe638ec421cb640895cb8bc9a3f/packages/ireko/CHANGELOG.md#014"
      },
      {
        "label": "npm",
        "url": "https://www.npmjs.com/package/ireko/v/0.1.4"
      }
    ]
  },
  {
    "version": "0.1.3",
    "date": "2026-11-03T20:56:23Z",
    "kind": "patch",
    "changes": [
      {
        "commit": null,
        "text": "Each constant of the relaxation is an option with a default: `minDistance`, `centering`, `maxStep` and `separationPasses`.",
        "packages": [
          "ireko"
        ]
      },
      {
        "commit": null,
        "text": "The finding `UNKNOWN_LAYOUT` tells you to give the strategy to `createEngine`.",
        "packages": [
          "ireko"
        ]
      },
      {
        "commit": null,
        "text": "The layouts of the other strategies do not change.",
        "packages": [
          "ireko"
        ]
      },
      {
        "commit": null,
        "text": "The new opt-in strategy `force`, from the new subpath `ireko/strategies/force`, arranges the children with a force-directed relaxation.",
        "packages": [
          "ireko"
        ]
      },
      {
        "commit": null,
        "text": "The subpath also exports the builder `force` and the function `relaxForces`.",
        "packages": [
          "ireko"
        ]
      }
    ],
    "links": [
      {
        "label": "GitHub release",
        "url": "https://github.com/metrograph-labs/ireko/releases/tag/v0.1.3"
      },
      {
        "label": "Changelog",
        "url": "https://github.com/metrograph-labs/ireko/blob/70610a95e5a0bfe638ec421cb640895cb8bc9a3f/packages/ireko/CHANGELOG.md#013"
      },
      {
        "label": "npm",
        "url": "https://www.npmjs.com/package/ireko/v/0.1.3"
      }
    ]
  },
  {
    "version": "0.1.2",
    "date": "2026-10-24T23:24:43-04:00",
    "kind": "patch",
    "changes": [
      {
        "commit": null,
        "text": "`LayoutView` keeps the selection when its renderer or its theme changes.",
        "packages": [
          "ireko"
        ]
      },
      {
        "commit": null,
        "text": "A `size` of `null` gives the finding `INVALID_SIZE`, and a `null` or `undefined` item of `edges` gives `UNKNOWN_EDGE_END`.",
        "packages": [
          "ireko"
        ]
      },
      {
        "commit": null,
        "text": "The layouts do not change.",
        "packages": [
          "ireko"
        ]
      },
      {
        "commit": null,
        "text": "The live renderers `mountSvg` and `mountDom` keep the paint order of `mountCanvas`.",
        "packages": [
          "ireko"
        ]
      }
    ],
    "links": [
      {
        "label": "GitHub release",
        "url": "https://github.com/metrograph-labs/ireko/releases/tag/v0.1.2"
      },
      {
        "label": "Changelog",
        "url": "https://github.com/metrograph-labs/ireko/blob/70610a95e5a0bfe638ec421cb640895cb8bc9a3f/packages/ireko/CHANGELOG.md#012"
      },
      {
        "label": "npm",
        "url": "https://www.npmjs.com/package/ireko/v/0.1.2"
      }
    ]
  },
  {
    "version": "0.1.1",
    "date": "2026-10-19T12:26:50-04:00",
    "kind": "patch",
    "changes": [
      {
        "commit": null,
        "text": "The layouts do not change.",
        "packages": [
          "ireko"
        ]
      },
      {
        "commit": null,
        "text": "The source of the module is in `ireko`, so `ireko` still has no runtime dependencies.",
        "packages": [
          "ireko"
        ]
      },
      {
        "commit": null,
        "text": "The strategy `radial` uses a module that the Vex compiler makes from a Vex program.",
        "packages": [
          "ireko"
        ]
      }
    ],
    "links": [
      {
        "label": "GitHub release",
        "url": "https://github.com/metrograph-labs/ireko/releases/tag/v0.1.1"
      },
      {
        "label": "Changelog",
        "url": "https://github.com/metrograph-labs/ireko/blob/70610a95e5a0bfe638ec421cb640895cb8bc9a3f/packages/ireko/CHANGELOG.md#011"
      },
      {
        "label": "npm",
        "url": "https://www.npmjs.com/package/ireko/v/0.1.1"
      }
    ]
  },
  {
    "version": "0.1.0",
    "date": "2026-10-16T19:03:14-04:00",
    "kind": "first",
    "changes": [
      {
        "commit": null,
        "text": "**A strategy and a mode for each node.** The strategy `grid` puts the children in rows and columns, and `radial` puts them on a ring or an arc.",
        "packages": [
          "ireko"
        ]
      },
      {
        "commit": null,
        "text": "**Examples** (`ireko/examples`).",
        "packages": [
          "ireko"
        ]
      },
      {
        "commit": null,
        "text": "**Extension points.** `defineStrategy`, `defineRouter` and `createEngine({ strategies, routers })`.",
        "packages": [
          "ireko"
        ]
      },
      {
        "commit": null,
        "text": "**Fit.** A nested container with a size grows (`grow`), makes its content smaller (`scale`), or cuts it at its edge (`clip`).",
        "packages": [
          "ireko"
        ]
      },
      {
        "commit": null,
        "text": "**Label sizes.** `fitText()` gives a `measure` function: each box fits its label.",
        "packages": [
          "ireko"
        ]
      },
      {
        "commit": null,
        "text": "**React Flow** (`ireko/xyflow`).",
        "packages": [
          "ireko"
        ]
      },
      {
        "commit": null,
        "text": "**React** (`ireko/react`).",
        "packages": [
          "ireko"
        ]
      },
      {
        "commit": null,
        "text": "**Routers.** `straight`, `orthogonal` and `avoid`.",
        "packages": [
          "ireko"
        ]
      },
      {
        "commit": null,
        "text": "**The audit.** Each layout examines itself, and gives findings for overlaps, boxes outside their container, bad options, unknown strategies, limits and failed strategies or routers.",
        "packages": [
          "ireko"
        ]
      },
      {
        "commit": null,
        "text": "**The builder.** `grid`, `radial`, `tree`, `layers`, `grid.nested` and `builder<O>(type)` make an input in TypeScript.",
        "packages": [
          "ireko"
        ]
      },
      {
        "commit": null,
        "text": "**The engine.** `layout(input, options)` and `createEngine(config)` give boxes with absolute positions, routed edges, the bounds and the findings of an audit.",
        "packages": [
          "ireko"
        ]
      },
      {
        "commit": null,
        "text": "**The renderers.** `toSVG` and `mountSvg` (`ireko/svg`), `mountDom` (`ireko/dom`) and `mountCanvas` (`ireko/canvas`).",
        "packages": [
          "ireko"
        ]
      },
      {
        "commit": null,
        "text": "**The text language** (`ireko/text`).",
        "packages": [
          "ireko"
        ]
      },
      {
        "commit": null,
        "text": "**Two more strategies.** `tree` packs the subtrees of a row by their shapes, so a small subtree fits under the edge of a large one (a tidy tree).",
        "packages": [
          "ireko"
        ]
      },
      {
        "commit": null,
        "text": "**Two passes.** The measure pass goes from the leaves up, and the place pass goes from the root down.",
        "packages": [
          "ireko"
        ]
      }
    ],
    "links": [
      {
        "label": "GitHub release",
        "url": "https://github.com/metrograph-labs/ireko/releases/tag/v0.1.0"
      },
      {
        "label": "Changelog",
        "url": "https://github.com/metrograph-labs/ireko/blob/70610a95e5a0bfe638ec421cb640895cb8bc9a3f/packages/ireko/CHANGELOG.md#010"
      },
      {
        "label": "npm",
        "url": "https://www.npmjs.com/package/ireko/v/0.1.0"
      }
    ]
  }
]
