ARES - authorized red-team engagement automation with dashboard, campaign scope, module orchestration, OPSEC controls, encrypted vault, and reporting.
Python active-directorycloud-securitydefensive-validationfastapigood-first-issuemitre-attackopsecreactred-teamreportingsecurity
perf(graph): refine click tolerances, toggle-on-reclick, and smooth pan-zoom handling
Mafifrizi508cc76f4597
diff --git a/frontend/src/features/graph/GraphPage.tsx b/frontend/src/features/graph/GraphPage.tsxindex 2d3e91f..d3f9fb2 100644--- a/frontend/src/features/graph/GraphPage.tsx+++ b/frontend/src/features/graph/GraphPage.tsx@@ -583,6 +583,11 @@ function CobaltGraphInner({fitViewOptions={{ padding: 0.14 }}minZoom={0.25}maxZoom={2.0}+ nodesDraggable={false}+ nodesConnectable={false}+ elementsSelectable={true}+ nodeClickDistance={8}+ paneClickDistance={8}onPaneClick={() => {if (selection) onSelect(null);}}@@ -601,7 +606,13 @@ function CobaltGraphInner({}}onNodeClick={(_event, node) => {const selectedNode = nodeById.get(node.id);- if (selectedNode) onSelect({ kind: "node", value: selectedNode });+ if (selectedNode) {+ if (selection?.kind === "node" && selection.value.id === node.id) {+ onSelect(null);+ } else {+ onSelect({ kind: "node", value: selectedNode });+ }+ }}}onEdgeClick={(_event, edge) => {const selectedEdge = edgeById.get(edge.id);