Skip to content

Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more.

test: expect unified component phrasing for workflow label width

momoyeyud591b89c499c
diff --git a/archify/test/layout-rules.test.mjs b/archify/test/layout-rules.test.mjs
index 0d81d7bc..78a82b2e 100644
--- a/archify/test/layout-rules.test.mjs
+++ b/archify/test/layout-rules.test.mjs
@@ -220,7 +220,7 @@ const CASES = [
// ---- workflow layout rules ----
['workflow: unknown lane', 'workflow', (d) => { d.nodes[0].lane = 'ghost'; }, ['unknown lane "ghost"']],
['workflow: node label wider than box', 'workflow',
- (d) => { d.nodes[0].label = 'An Extremely Long Node Label That Overflows'; }, ['wider than node', 'shorten the label']],
+ (d) => { d.nodes[0].label = 'An Extremely Long Node Label That Overflows'; }, ['wider than component', 'shorten the label']],
['workflow: node sublabel wider than its legible minimum', 'workflow',
(d) => { d.nodes[0].sublabel = 'This supporting sentence is much too long for one workflow node'; }, ['Sublabel', 'legible', 'increase node.width']],
['workflow: node tag wider than its legible minimum', 'workflow',