From 47d2c414001d113e24a02dcfad880a8c94141d4b Mon Sep 17 00:00:00 2001 From: Jeff Emmett Date: Thu, 12 Mar 2026 01:54:17 -0700 Subject: [PATCH] fix(rnetwork): remove linkLineDash (3D unsupported), fix three/webgpu duplication MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Remove .linkLineDash() chain call — only exists in 2D force-graph, not 3d-force-graph. Dashed edges were visual-only, no functional loss. - Map three/webgpu to three.module.js instead of three.webgpu.js to avoid loading two full copies of Three.js. Co-Authored-By: Claude Opus 4.6 --- modules/rnetwork/components/folk-graph-viewer.ts | 4 ---- modules/rnetwork/mod.ts | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/modules/rnetwork/components/folk-graph-viewer.ts b/modules/rnetwork/components/folk-graph-viewer.ts index a1ab87f..a05ca6e 100644 --- a/modules/rnetwork/components/folk-graph-viewer.ts +++ b/modules/rnetwork/components/folk-graph-viewer.ts @@ -594,10 +594,6 @@ class FolkGraphViewer extends HTMLElement { } return "#c4b5fd"; }) - .linkLineDash((link: GraphEdge) => { - const style = EDGE_STYLES[link.type] || EDGE_STYLES.default; - return style.dashed ? [4, 2] : null; - }) .onNodeClick((node: GraphNode) => { if (this.selectedNode?.id === node.id) { this.selectedNode = null; diff --git a/modules/rnetwork/mod.ts b/modules/rnetwork/mod.ts index cb12987..ee6e787 100644 --- a/modules/rnetwork/mod.ts +++ b/modules/rnetwork/mod.ts @@ -17,7 +17,7 @@ const GRAPH3D_IMPORTMAP = `