Self-hosted homelab infrastructure visualizer — interactive network diagram with live status monitoring
TypeScript diagramhomelabhomelab-infrastructure-observabilitynetworkproxmox-veself-hostedzigbeezwavezwave-js
fix: cluster handles are bidirectional — connectionMode loose, both type source
Pouzora63e24842703
diff --git a/frontend/src/components/canvas/CanvasContainer.tsx b/frontend/src/components/canvas/CanvasContainer.tsxindex bd29964..d8c877b 100644--- a/frontend/src/components/canvas/CanvasContainer.tsx+++ b/frontend/src/components/canvas/CanvasContainer.tsx@@ -73,6 +73,7 @@ export function CanvasContainer({ onConnect: onConnectProp, onEdgeDoubleClick }:snapGrid={[16, 16]}fitViewcolorMode="dark"+ connectionMode="loose"><Backgroundvariant={BackgroundVariant.Dots}diff --git a/frontend/src/components/canvas/nodes/ProxmoxGroupNode.tsx b/frontend/src/components/canvas/nodes/ProxmoxGroupNode.tsxindex f392f24..30f83ca 100644--- a/frontend/src/components/canvas/nodes/ProxmoxGroupNode.tsx+++ b/frontend/src/components/canvas/nodes/ProxmoxGroupNode.tsx@@ -20,7 +20,7 @@ export function ProxmoxGroupNode(props: NodeProps<Node<NodeData>>) {return (<><BaseNode {...props} icon={Layers} />- <Handle type="target" position={Position.Left} id="cluster-left" title="Same cluster" style={{ background: '#ff6e00', borderColor: '#ff6e0088', width: 6, height: 6 }} />+ <Handle type="source" position={Position.Left} id="cluster-left" title="Same cluster" style={{ background: '#ff6e00', borderColor: '#ff6e0088', width: 6, height: 6 }} /><Handle type="source" position={Position.Right} id="cluster-right" title="Same cluster" style={{ background: '#ff6e00', borderColor: '#ff6e0088', width: 6, height: 6 }} /></>)@@ -84,7 +84,7 @@ export function ProxmoxGroupNode(props: NodeProps<Node<NodeData>>) {<Handle type="source" position={Position.Bottom} className="!bg-[#30363d] !border-[#8b949e]" />{/* Cluster handles — left/right for same-cluster links */}- <Handle type="target" position={Position.Left} id="cluster-left" title="Same cluster" style={{ background: '#ff6e00', borderColor: '#ff6e0088', width: 6, height: 6 }} />+ <Handle type="source" position={Position.Left} id="cluster-left" title="Same cluster" style={{ background: '#ff6e00', borderColor: '#ff6e0088', width: 6, height: 6 }} /><Handle type="source" position={Position.Right} id="cluster-right" title="Same cluster" style={{ background: '#ff6e00', borderColor: '#ff6e0088', width: 6, height: 6 }} /></>)