Repository navigation
Closed
Labels
complexity-lowComplexity: low (board points 1-3)enhancementNew feature or requestpriority-p3Nice-to-havetheme-ui-uxTheme: UI/UXtype-featureNew functionality
Description
Summary
Add the ability to drag-select multiple agents on the dashboard graph view and move them as a group, enabling users to organize their agent layout spatially.
Motivation
As agent fleets grow, users need to visually organize agents into logical clusters (e.g., by team, workflow, or function). Currently, agents can only be dragged one at a time. Multi-select and group move would make spatial organization significantly faster.
Current Behavior
- Single agent nodes can be dragged individually (
@node-drag-stopinDashboard.vue) - Positions are persisted to localStorage via
networkStore.saveNodePositions() - No multi-select or box-select capability exists
Proposed Behavior
1. Box Selection (Marquee Select)
- Click and drag on empty canvas area to draw a selection rectangle
- All agent nodes within the rectangle become selected (highlighted border/glow)
- Hold
Shiftto add to existing selection - Click empty canvas to deselect all
2. Click-to-Select
Ctrl/Cmd + Clickon individual nodes to toggle selection- Selected nodes show a distinct visual indicator (e.g., colored border, selection ring)
3. Group Drag
- Dragging any selected node moves all selected nodes together, preserving relative positions
- On drag stop, persist all moved node positions to localStorage (existing
saveNodePositions()mechanism)
4. Visual Feedback
- Selection rectangle: semi-transparent blue overlay with dashed border
- Selected nodes: subtle highlight ring or border color change
- During group drag: slight opacity reduction or shadow elevation on the moving group
Technical Approach
Library: Vue Flow (@vue-flow/core v1.48.0) already supports multi-selection natively via the selectionMode prop and selection events.
Key Vue Flow features to leverage:
selection-modeprop on<VueFlow>— enables box selection@selection-drag-stopevent — fires when selected nodes are moved@selection-start/@selection-endevents- Node
selectedstate — built-in property on each node - Multi-select with
Ctrl/Cmd + Clickis supported out of the box
Files to modify:
src/frontend/src/views/Dashboard.vue— Enable selection mode, add selection event handlerssrc/frontend/src/stores/network.js— Persist group positions on selection drag stopsrc/frontend/src/components/AgentNode.vue— Add selected-state stylingsrc/frontend/src/components/SystemAgentNode.vue— Same selected-state styling
Acceptance Criteria
- Users can draw a selection box on the canvas to select multiple agents
-
Ctrl/Cmd + Clicktoggles individual node selection - Dragging any selected node moves all selected nodes as a group
- Group-moved positions are persisted to localStorage
- Selected nodes have a visible indicator (border/glow)
- Clicking empty canvas deselects all nodes
- Existing single-node drag behavior is unaffected when no multi-select is active
Metadata
Metadata
Assignees
Labels
complexity-lowComplexity: low (board points 1-3)enhancementNew feature or requestpriority-p3Nice-to-havetheme-ui-uxTheme: UI/UXtype-featureNew functionality
Activity
vybe commentedon Jul 3, 2026
Incubation triage 2026-07-03: closing — P3 polish, parked ~3 months with no pull. Reopen if graph-view usage grows.