Files
fusion/plugins/fusion-plugin-dependency-graph/src/styles/drag.css
Fusion 70105b2481 feat(FN-3089): add draggable dependency graph nodes
Adds draggable interaction to dependency graph nodes (FN-3089), introducing a `useNodeDrag` hook to manage drag state and positioning, with corresponding tests and a new drag stylesheet; the `GraphTaskNode` and `DependencyGraph` components are updated to wire up the drag behavior.

Fusion-Task-Id: FN-3089
2026-05-07 05:28:27 -07:00

16 lines
311 B
CSS

.graph-node--draggable {
cursor: grab;
touch-action: none;
}
.graph-node--dragging {
z-index: 3;
cursor: grabbing;
box-shadow: var(--shadow-lg);
transform: scale(1.02);
transition:
transform var(--transition-fast),
box-shadow var(--transition-fast),
z-index var(--transition-fast);
}