From c19a8b52a645b4adb12b8da610268d13e0be2fab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Tejero=20Cantero?= Date: Fri, 17 Jul 2026 00:54:50 +0200 Subject: [PATCH] :fire: Remove the edge-bundling plugin MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bundled edges render unsmooth and ugly on this build; the gating constant goes with it. Signed-off-by: Álvaro Tejero Cantero --- backend/resources/app/templates/graph-console.tmpl | 6 ------ 1 file changed, 6 deletions(-) diff --git a/backend/resources/app/templates/graph-console.tmpl b/backend/resources/app/templates/graph-console.tmpl index 53e981fcb0..42c582eb5f 100644 --- a/backend/resources/app/templates/graph-console.tmpl +++ b/backend/resources/app/templates/graph-console.tmpl @@ -577,9 +577,6 @@ Graph Console // page that hung on render can always be re-entered. const RENDER_GUARD_NODES = 4000; const RENDER_GUARD_EDGES = 8000; - // Edge bundling is iteration-heavy in the number of edges — a - // page-freezing cost at scale; bundle only small graphs. - const BUNDLE_MAX_EDGES = 300; // G6's entrance/update animation is nice didactics on small graphs but // the performance killer at scale (>2 min at 1700 nodes vs ~1.5 s off); // keep it only below this node count. @@ -943,9 +940,6 @@ Graph Console }] }; if (layoutCfg) opts.layout = layoutCfg; - if (g6data.edges.length <= BUNDLE_MAX_EDGES) { - opts.plugins.unshift({ key: "edge-bundling", type: "edge-bundling" }); - } g6graph = new G6.Graph(opts); // Re-attached on every instance creation (layout/animation switches // destroy and recreate the graph).