diff --git a/src/components/nodes/SplitGridNode.tsx b/src/components/nodes/SplitGridNode.tsx index c1d75251..ad790a34 100644 --- a/src/components/nodes/SplitGridNode.tsx +++ b/src/components/nodes/SplitGridNode.tsx @@ -36,36 +36,39 @@ export function SplitGridNode({ id, data, selected }: NodeProps - {/* Image input handle */} - + <> + + {/* Image input handle */} + - {/* Reference output handle for visual links to child nodes */} - + {/* Reference output handle for visual links to child nodes */} + -
- {/* Preview/Status area */} + {/* Full-bleed preview area */} {nodeData.sourceImage ? ( -
+
Source grid {/* Grid overlay visualization */}
{/* Loading overlay */} {nodeData.status === "loading" && ( -
+
@@ -94,7 +97,7 @@ export function SplitGridNode({ id, data, selected }: NodeProps ) : ( -
+
{nodeData.status === "error" ? ( {nodeData.error || "Error"} @@ -117,40 +120,43 @@ export function SplitGridNode({ id, data, selected }: NodeProps )} - {/* Config summary */} -
- {nodeData.gridRows}x{nodeData.gridCols} grid ({nodeData.targetCount} images) - -
+ {/* Controls overlay pinned at bottom */} +
+ {/* Config summary */} +
+ {nodeData.gridRows}x{nodeData.gridCols} grid ({nodeData.targetCount} images) + +
- {/* Child node count / status */} -
- {nodeData.isConfigured ? ( -
- {nodeData.childNodeIds.length} generate sets created -
- ) : ( -
- Not configured - click Settings -
- )} + {/* Child node count / status */} +
+ {nodeData.isConfigured ? ( +
+ {nodeData.childNodeIds.length} generate sets created +
+ ) : ( +
+ Not configured - click Settings +
+ )} - {/* Split button */} - + {/* Split button */} + +
-
+ {/* Settings Modal */} {showSettings && ( @@ -160,6 +166,6 @@ export function SplitGridNode({ id, data, selected }: NodeProps )} - + ); }