A lane chip clears the card above its run: running downwards ELK keeps runs half a chip and a border (14px) from nodes, so House history's feedback chip no longer covers the node border at 390 (crossings and node order unchanged, Demo house 178px taller); an empty string reads "" on its chip

This commit is contained in:
2026-10-15 21:46:05 +02:00
parent dc2802d4c0
commit 8d3165c8c4
2 changed files with 13 additions and 1 deletions
+2 -1
View File
@@ -174,7 +174,8 @@ function formatValue(value: unknown): string {
if (typeof value === "number") {
return Number.isInteger(value) ? String(value) : value.toFixed(2)
}
if (typeof value === "string") return value
// An empty string reads the way `null` and `[]` do, not as an empty pill.
if (typeof value === "string") return value || '""'
// A media reference serialised whole is a line of hash: what belongs in a
// chip this size is what kind of bytes crossed the edge.
if (isRef(value)) return describeArtifact(value as Record<string, unknown>)