From 9d3dee78febbf8bdbb02ab2ef5b4396858025af6 Mon Sep 17 00:00:00 2001 From: MtBntChvn <93671382+MtBntChvn@users.noreply.github.com> Date: Sat, 21 Feb 2026 08:52:46 +0000 Subject: tighten elliptical ring radii MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit base_radius: 70 → 50, ring_gap: 40 → 32 Co-Authored-By: Claude Opus 4.6 (1M context) --- src/zenserver/frontend/html/pages/graph-debug-playground.js | 12 ++++++------ src/zenserver/frontend/html/util/graphengine.js | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'src') diff --git a/src/zenserver/frontend/html/pages/graph-debug-playground.js b/src/zenserver/frontend/html/pages/graph-debug-playground.js index 7f371aa1c..b821abf58 100644 --- a/src/zenserver/frontend/html/pages/graph-debug-playground.js +++ b/src/zenserver/frontend/html/pages/graph-debug-playground.js @@ -326,8 +326,8 @@ export class Page extends ZenPage _expand_root_synthetic(node, all_deps, visible) { const engine = this._engine; - const base_radius = 70; - const ring_gap = 40; + const base_radius = 50; + const ring_gap = 32; const min_node_gap = 45; const ellipse_ratio = 2.0; const arc_span = 2 * Math.PI; @@ -384,8 +384,8 @@ export class Page extends ZenPage // ripple placement: concentric elliptical semi-rings const arc_span = Math.PI; const arc_start = outward_angle - arc_span / 2; - const base_radius = 70; - const ring_gap = 40; + const base_radius = 50; + const ring_gap = 32; const min_node_gap = 45; const ellipse_ratio = 2.0; var added = 0; @@ -618,8 +618,8 @@ export class Page extends ZenPage const existing = new Set(engine.nodes); // ripple placement helper for group node children (elliptical) - const base_radius = 70; - const ring_gap = 40; + const base_radius = 50; + const ring_gap = 32; const min_node_gap = 45; const ellipse_ratio = 2.0; const arc_span = 2 * Math.PI; diff --git a/src/zenserver/frontend/html/util/graphengine.js b/src/zenserver/frontend/html/util/graphengine.js index 95830be2a..d81997f07 100644 --- a/src/zenserver/frontend/html/util/graphengine.js +++ b/src/zenserver/frontend/html/util/graphengine.js @@ -569,8 +569,8 @@ export class GraphEngine // place children in concentric elliptical rings (ripples) // ellipse: wider horizontally to match rectangular node shape - const base_radius = 70; - const ring_gap = 40; + const base_radius = 50; + const ring_gap = 32; const min_node_gap = 45; const ellipse_ratio = 2.0; // horizontal / vertical var added = 0; -- cgit v1.2.3