fix(dashboard): increase feedback edge offset for clarity (#247)

This commit is contained in:
2026-05-14 14:38:05 +08:00
parent 5b47317cef
commit a450a88b16
2 changed files with 2 additions and 2 deletions
@@ -2,7 +2,7 @@ import { BaseEdge, EdgeLabelRenderer, type EdgeProps, getSmoothStepPath } from "
import type { ConditionEdgeData } from "./types.ts"; import type { ConditionEdgeData } from "./types.ts";
// Must match the FEEDBACK_OFFSET_X in use-layout.ts // Must match the FEEDBACK_OFFSET_X in use-layout.ts
const FEEDBACK_OFFSET_X = 100; const FEEDBACK_OFFSET_X = 140;
// Radius for feedback edge corners // Radius for feedback edge corners
const FEEDBACK_RADIUS = 16; const FEEDBACK_RADIUS = 16;
@@ -12,7 +12,7 @@ const TERMINAL_NODE_SIZE = 40;
// Vertical gap between nodes in the spine // Vertical gap between nodes in the spine
const LAYER_GAP = 80; const LAYER_GAP = 80;
// Horizontal offset for feedback (back) edges routed on the right side // Horizontal offset for feedback (back) edges routed on the right side
const FEEDBACK_OFFSET_X = 100; const FEEDBACK_OFFSET_X = 140;
type LayoutInput = { type LayoutInput = {
edges: readonly WorkflowGraphEdge[]; edges: readonly WorkflowGraphEdge[];