Skip to content

Self-hosted homelab infrastructure visualizer — interactive network diagram with live status monitoring

fix: allow parent-to-child connections in React Flow

Pouzordc9658865561
diff --git a/frontend/src/components/canvas/CanvasContainer.tsx b/frontend/src/components/canvas/CanvasContainer.tsx
index 2a4114e..6c54333 100644
--- a/frontend/src/components/canvas/CanvasContainer.tsx
+++ b/frontend/src/components/canvas/CanvasContainer.tsx
@@ -58,6 +58,7 @@ export function CanvasContainer({ onConnect: onConnectProp, onEdgeDoubleClick }:
fitView
colorMode="dark"
connectionMode="loose"
+ isValidConnection={(connection) => connection.source !== connection.target}
>
<Background
variant={BackgroundVariant.Dots}