Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1068,7 +1068,7 @@ export const Agent: FC<AgentProps> = ({
isValidConnection={isValidConnection}
onNodeClick={onNodeClick}
>
<Background color="#a8a29e" gap={20} />
<Background color="#a8a29e" gap={20} className="animated-dots" />
<Controls className="text-foreground" showInteractive={false} />
{!showEmptyState && (
<Panel position="top-left">
Expand Down
40 changes: 40 additions & 0 deletions agents-manage-ui/src/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,46 @@ li[data-sonner-toast][data-type="error"] {
--xy-edge-stroke: var(--muted-foreground);
}

/* Animated dot pattern background for ReactFlow */
@keyframes dot-float {
0%,
100% {
transform: translate(0, 0);
}
25% {
transform: translate(2px, 2px);
}
50% {
transform: translate(0, 4px);
}
75% {
transform: translate(-2px, 2px);
}
}

@keyframes dot-pulse {
0%,
100% {
opacity: 0.4;
}
50% {
opacity: 0.7;
}
}

.react-flow__background.animated-dots pattern {
animation: dot-float 20s ease-in-out infinite;
}

.react-flow__background.animated-dots pattern circle {
animation: dot-pulse 4s ease-in-out infinite;
}

/* Stagger animation for different dots (creates wave effect) */
.react-flow__background.animated-dots pattern circle:nth-child(odd) {
animation-delay: -2s;
}

.edge-delegating {
--xy-edge-stroke: var(--primary);
}
Expand Down