From fdee57e36e8c606758ad4d0f1fbc03dba3e79fd7 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Sat, 13 Jun 2026 00:39:55 +0000 Subject: [PATCH 1/2] feat(graph-editor): add 16 new icons to NodeIcon map Add mail, globe, git-merge, scissors, shield, repeat, toggle, cpu, code, send, box, layers, filter, database, terminal, minus to both the React component iconMap and the SVG iconPaths. --- .../graph-editor/src/components/NodeIcon.tsx | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/packages/graph-editor/src/components/NodeIcon.tsx b/packages/graph-editor/src/components/NodeIcon.tsx index 550190e..67f1a9d 100644 --- a/packages/graph-editor/src/components/NodeIcon.tsx +++ b/packages/graph-editor/src/components/NodeIcon.tsx @@ -9,10 +9,26 @@ import { FiSquare, FiHash, FiPlus, + FiMinus, FiX, FiCircle, FiZap, FiLink, + FiMail, + FiGlobe, + FiGitMerge, + FiScissors, + FiShield, + FiRepeat, + FiToggleLeft, + FiCpu, + FiCode, + FiSend, + FiBox, + FiLayers, + FiFilter, + FiDatabase, + FiTerminal, } from 'react-icons/fi'; import { SiGraphql } from 'react-icons/si'; import { TbBraces, TbQuote, TbCursorText } from 'react-icons/tb'; @@ -34,6 +50,7 @@ const iconMap: Record Date: Sun, 14 Jun 2026 04:50:30 +0000 Subject: [PATCH 2/2] fix: add 'toggle-left' alias to icon map The boolean node definition uses icon name 'toggle-left' but the map only had 'toggle'. Both now resolve to FiToggleLeft. --- packages/graph-editor/src/components/NodeIcon.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/graph-editor/src/components/NodeIcon.tsx b/packages/graph-editor/src/components/NodeIcon.tsx index 67f1a9d..b43f957 100644 --- a/packages/graph-editor/src/components/NodeIcon.tsx +++ b/packages/graph-editor/src/components/NodeIcon.tsx @@ -65,6 +65,7 @@ const iconMap: Record