diff --git a/backend/resources/app/templates/graph-console.tmpl b/backend/resources/app/templates/graph-console.tmpl index 450ab43cf7..907383e2dc 100644 --- a/backend/resources/app/templates/graph-console.tmpl +++ b/backend/resources/app/templates/graph-console.tmpl @@ -154,6 +154,9 @@ Graph Console + Renders the in-memory Ladybug graph with AntV G6 (CDN). Node color @@ -306,12 +309,44 @@ Graph Console const LAYOUT_XS = 40; // horizontal leaf slot spacing const LAYOUT_YS = 70; // vertical rank (depth) spacing + // Layout dropdown source of truth: name -> G6 layout config, or null for + // the built-in O(n) tree layout (preset positions from treePositions, + // fastest, exploits IsChildOf being a tree). The