From a051571d7934b9e4dc015e7f936629461234801c Mon Sep 17 00:00:00 2001 From: Brummel Date: Sat, 13 Jun 2026 17:03:28 +0200 Subject: [PATCH] feat(aura-cli): render leaf param signature as TYPE[...] in the graph viewer MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The viewer box head built the param signature in round parens — SMA(length) — which reads as a function call. Switch the brackets to square — SMA[length] — so the head reads as parametrisation, not invocation. cellLabel render-only change in graph-viewer.js; the JSON model surface and both goldens are untouched. --- crates/aura-cli/assets/graph-viewer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/aura-cli/assets/graph-viewer.js b/crates/aura-cli/assets/graph-viewer.js index 726c9c4..de400f1 100644 --- a/crates/aura-cli/assets/graph-viewer.js +++ b/crates/aura-cli/assets/graph-viewer.js @@ -70,7 +70,7 @@ function cellLabel(id, o, showTypes) { `${txt(n, k)}`; const sp = o.params.map(([n, k]) => `${showTypes && k ? `${n}:${k}` : n}`); - const sig = o.params.length ? `(${sp.join(', ')})` : ""; + const sig = o.params.length ? `[${sp.join(', ')}]` : ""; const name = `${o.type}${sig}`; let bodyRow; if (o.composite) {