aboutsummaryrefslogtreecommitdiff
path: root/src/zenserver/frontend/html
diff options
context:
space:
mode:
authorMtBntChvn <[email protected]>2026-02-20 23:15:43 +0000
committerMtBntChvn <[email protected]>2026-02-20 23:15:43 +0000
commit592158458084e9cfcd7f119bb80ac6a28e77a5ec (patch)
tree75eeb534da6733342c0fb2e9def967182fcb967e /src/zenserver/frontend/html
parentextract shared GraphEngine from graph views, add filtering and search (diff)
downloadzen-592158458084e9cfcd7f119bb80ac6a28e77a5ec.tar.xz
zen-592158458084e9cfcd7f119bb80ac6a28e77a5ec.zip
remove breadcrumb path dimming from graph nodes
The breadcrumb is for navigation only — selecting a path segment navigates the tree browser panel, it should not dim graph nodes. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Diffstat (limited to 'src/zenserver/frontend/html')
-rw-r--r--src/zenserver/frontend/html/util/graphengine.js8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/zenserver/frontend/html/util/graphengine.js b/src/zenserver/frontend/html/util/graphengine.js
index 6d9d9b760..f11aa065a 100644
--- a/src/zenserver/frontend/html/util/graphengine.js
+++ b/src/zenserver/frontend/html/util/graphengine.js
@@ -1082,7 +1082,6 @@ export class GraphEngine
const filter_dim = 0.15;
const has_quick_filter = this._quick_filters.size > 0;
- const bc_prefix = this._breadcrumb_prefix;
const edge_alpha = (e) => {
var a = Math.min(
@@ -1102,12 +1101,6 @@ export class GraphEngine
if (!this._quick_filter_match(e.source) && !this._quick_filter_match(e.target))
a *= filter_dim;
}
- if (bc_prefix)
- {
- const bp = bc_prefix + "/";
- if (!e.source.opkey.startsWith(bp) && !e.target.opkey.startsWith(bp))
- a *= filter_dim;
- }
return a;
};
@@ -1309,7 +1302,6 @@ export class GraphEngine
if (node._reachable_alpha !== undefined) a *= node._reachable_alpha;
if (search_active && !this._search_match_set.has(node)) a *= filter_dim;
if (has_quick_filter && !this._quick_filter_match(node)) a *= filter_dim;
- if (bc_prefix && !node.opkey.startsWith(bc_prefix + "/")) a *= filter_dim;
if (a <= 0) return;
if (a < 1.0) ctx.globalAlpha = a;
draw_node(node);