Releases
15 versions from Oct 16 to Nov 24, 2026. 1 MINOR release and 13 PATCH releases came after the first release.
Each mark is one version, on a time axis in UTC. Select a mark to show its changes.
- MINOR: new features (before 1.0.0, also a change of the API)
- PATCH: fixes and small additions
- The first release
The sources have no change entry for this version.
7 changes in 1 package. The changes with the most packages come first.
A graph router that throws, or a missing or bad route, gives
ROUTER_FAILED.A route that goes through a box gives the new warning
EDGE_THROUGH_BOX, with the boxes in itsdetail.The graph router operates after the router of the option
router.The gzip size of
layoutgoes from 18.05 kB to 18.57 kB.The new option
graphRoutertakes an object with aroutefunction.The new types
GraphRouter,GraphRouterInput,GraphRouterResult,GraphNode,GraphEdge,GraphBoxandGraphRoutetell the shape.The obstacles are all boxes, also the containers.
7 changes in 1 package. The changes with the most packages come first.
toSVGdraws each line of such a label at the center of the box, with the line height offitText.A label with line breaks (
\n) has one line for each part.In 0.2.5,
fitTextmeasured such a label as one line, andtoSVGdrew it on one line.The arrowhead has the color of its edge: the color
edgeof the theme, orextraEdgefor an extra edge.The live renderers
mountSvg,mountDomandmountCanvasdraw each label on one line, as before.The new option
arrowsoftoSVGgives each edge an arrowhead at its target.The new option
dashesoftoSVGdraws the extra edges with solid lines when it is false.
13 changes in 1 package. The changes with the most packages come first.
relaxForceskeeps the positions in typed lists of numbers, and the separation passes find the near boxes with a grid.thetais a field of the typesRelaxOptionsandForceOptions.At 100 boxes or fewer, the first use in a new process is slower than 0.2.4.
The build bundles
@mark1russell7/text0.0.15 (before, 0.0.5).The first job of the workflow measured 7 rounds on an AMD EPYC 7763 with Node.js 24.22.
The gzip size of
ireko/strategies/forcegoes from 2.75 kB to 4.50 kB, and its size limit goes from 3.2 kB to 4.7 kB.The layout schema of the strategy
forcehas the fieldtheta, and the builderforceaccepts it.The new option
thetais a number from 0 toMAX_THETA, which is 1.The new workflow
bench-relax.ymlmeasuresrelaxForcesagainst 0.2.4 on pictures of 50 to 1600 boxes, each arm in a fresh process.With a
thetaof 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.With a
thetaof more than 0, a far group of boxes repels a box as one box.With a
thetaof more than 0, the positions are near the positions of athetaof 0, but they are not the same.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.
2 changes in 1 package. The changes with the most packages come first.
The smoke test of the tarball fails when a source map names a path in the pnpm store.
The source map of
ireko/svgnames the bundled@mark1russell7/textby its path innode_modules.
1 change in 1 package. The changes with the most packages come first.
The build bundles
@mark1russell7/text0.0.5 (before, 0.0.2).
2 changes in 1 package. The changes with the most packages come first.
The escape of the text of an SVG comes from
escapeAttributeof@mark1russell7/text, the home of the escape functions.The SVG output is the same:
&,<,>,"and'in place of the five characters.
7 changes in 1 package. The changes with the most packages come first.
Each size of a node was valid, but a sum of very large sizes can overflow.
In this version,
layoutdoes not throw for it.The check adds approximately 0.33 kB gzip to each entry with
layout.The engine uses a finite value in its place.
The union of two far boxes can be wider than the largest number.
Thus each number of a layout is finite.
When the grid fallback cannot arrange the children, each child goes to the origin of the node.
5 changes in 1 package. The changes with the most packages come first.
A dependency map of 250 boxes and 293 edges had 3710 crossings of its routed edges with 0.1.5.
A long edge in the strategy
layersgets a virtual node in each layer between its ends.Each example of the gallery keeps its layout: the golden files do not change.
The crossing reduction adds approximately 0.4 kB gzip to each entry with the strategy
layers.The ordering counts the crossings after each pass, and it keeps the order with the fewest crossings.
6 changes in 1 package. The changes with the most packages come first.
Old and new files gave the same values on 128,508 calls, with 0 differences.
One call of
gridtakes 3 % to 5 % less time, but a full layout shows no change.The
radialstrategy takes 11 % to 12 % less time for a layout of 1,111 or 11,111 nodes.The five generated modules (
measure,place,shape,gridandradial) come from one commit of Vex.The gzip size of
layoutgoes from 17,095 B to 17,337 B inireko, and from 18,986 B to 19,229 B inireko/shapes.The size limits do not change.
2 changes in 1 package. The changes with the most packages come first.
The new option
linkedShapeofcreateEnginesets the code that gives the shape of a linked node.The new subpath
ireko/shapesexportslayout.
5 changes in 1 package. The changes with the most packages come first.
Each constant of the relaxation is an option with a default:
minDistance,centering,maxStepandseparationPasses.The finding
UNKNOWN_LAYOUTtells you to give the strategy tocreateEngine.The layouts of the other strategies do not change.
The new opt-in strategy
force, from the new subpathireko/strategies/force, arranges the children with a force-directed relaxation.The subpath also exports the builder
forceand the functionrelaxForces.
4 changes in 1 package. The changes with the most packages come first.
LayoutViewkeeps the selection when its renderer or its theme changes.A
sizeofnullgives the findingINVALID_SIZE, and anullorundefineditem ofedgesgivesUNKNOWN_EDGE_END.The layouts do not change.
The live renderers
mountSvgandmountDomkeep the paint order ofmountCanvas.
3 changes in 1 package. The changes with the most packages come first.
The layouts do not change.
The source of the module is in
ireko, soirekostill has no runtime dependencies.The strategy
radialuses a module that the Vex compiler makes from a Vex program.
15 changes in 1 package. The changes with the most packages come first.
A strategy and a mode for each node. The strategy
gridputs the children in rows and columns, andradialputs them on a ring or an arc.Examples (
ireko/examples).Extension points.
defineStrategy,defineRouterandcreateEngine({ strategies, routers }).Fit. A nested container with a size grows (
grow), makes its content smaller (scale), or cuts it at its edge (clip).Label sizes.
fitText()gives ameasurefunction: each box fits its label.React Flow (
ireko/xyflow).React (
ireko/react).Routers.
straight,orthogonalandavoid.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.
The builder.
grid,radial,tree,layers,grid.nestedandbuilder<O>(type)make an input in TypeScript.The engine.
layout(input, options)andcreateEngine(config)give boxes with absolute positions, routed edges, the bounds and the findings of an audit.The renderers.
toSVGandmountSvg(ireko/svg),mountDom(ireko/dom) andmountCanvas(ireko/canvas).The text language (
ireko/text).Two more strategies.
treepacks the subtrees of a row by their shapes, so a small subtree fits under the edge of a large one (a tidy tree).Two passes. The measure pass goes from the leaves up, and the place pass goes from the root down.
Source: the CHANGELOG.md files, the git tags, the GitHub releases and npm, read when the site was built.