@libxai/board 0.17.363 → 0.17.365

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -2324,23 +2324,22 @@ interface DependencyLineProps {
2324
2324
  isHoverLayer?: boolean;
2325
2325
  }
2326
2326
  /**
2327
- * v0.17.363: TRUE ClickUp-style dependency line routing
2327
+ * v0.17.364: TRUE ClickUp-style dependency line routing
2328
2328
  *
2329
2329
  * RULES:
2330
2330
  * 1. Lines ALWAYS exit from the RIGHT side of the source bar
2331
2331
  * 2. Lines ALWAYS enter from the LEFT side of the destination bar
2332
- * 3. The vertical segment is placed BEFORE (to the left of) the destination bar
2332
+ * 3. The vertical segment is ALWAYS placed to the LEFT of the destination bar
2333
2333
  *
2334
2334
  * Pattern: source(right) → horizontal → vertical → horizontal → destination(left)
2335
2335
  *
2336
- * For FORWARD dependencies (destination is to the right of source):
2337
- * Exit right go horizontal to turnX → turn down/up → go to destination Y turn right → enter left
2338
- * turnX = x2 - OFFSET (just before destination)
2336
+ * For FORWARD dependencies (x2 > x1, destination RIGHT of source):
2337
+ * The vertical segment is just before destination: turnX = x2 - OFFSET
2338
+ * Path: right horizontal down/up right into destination
2339
2339
  *
2340
- * For BACKWARD dependencies (destination is to the left of source):
2341
- * Exit right short horizontal turn down/up → go to destination Y turn LEFT → enter left
2342
- * turnX = x2 - OFFSET (still before destination, which is now to the left)
2343
- * This means we go RIGHT first, then DOWN, then LEFT to reach destination
2340
+ * For BACKWARD dependencies (x2 <= x1, destination LEFT of or at same X as source):
2341
+ * The vertical segment must still be LEFT of destination: turnX = x2 - OFFSET
2342
+ * Path: right horizontal past source down/up LEFT back to destination
2344
2343
  */
2345
2344
  declare function DependencyLine({ x1, y1, x2, y2, theme, onDelete, lineStyle, isHoverLayer, }: DependencyLineProps): react_jsx_runtime.JSX.Element;
2346
2345
 
package/dist/index.d.ts CHANGED
@@ -2324,23 +2324,22 @@ interface DependencyLineProps {
2324
2324
  isHoverLayer?: boolean;
2325
2325
  }
2326
2326
  /**
2327
- * v0.17.363: TRUE ClickUp-style dependency line routing
2327
+ * v0.17.364: TRUE ClickUp-style dependency line routing
2328
2328
  *
2329
2329
  * RULES:
2330
2330
  * 1. Lines ALWAYS exit from the RIGHT side of the source bar
2331
2331
  * 2. Lines ALWAYS enter from the LEFT side of the destination bar
2332
- * 3. The vertical segment is placed BEFORE (to the left of) the destination bar
2332
+ * 3. The vertical segment is ALWAYS placed to the LEFT of the destination bar
2333
2333
  *
2334
2334
  * Pattern: source(right) → horizontal → vertical → horizontal → destination(left)
2335
2335
  *
2336
- * For FORWARD dependencies (destination is to the right of source):
2337
- * Exit right go horizontal to turnX → turn down/up → go to destination Y turn right → enter left
2338
- * turnX = x2 - OFFSET (just before destination)
2336
+ * For FORWARD dependencies (x2 > x1, destination RIGHT of source):
2337
+ * The vertical segment is just before destination: turnX = x2 - OFFSET
2338
+ * Path: right horizontal down/up right into destination
2339
2339
  *
2340
- * For BACKWARD dependencies (destination is to the left of source):
2341
- * Exit right short horizontal turn down/up → go to destination Y turn LEFT → enter left
2342
- * turnX = x2 - OFFSET (still before destination, which is now to the left)
2343
- * This means we go RIGHT first, then DOWN, then LEFT to reach destination
2340
+ * For BACKWARD dependencies (x2 <= x1, destination LEFT of or at same X as source):
2341
+ * The vertical segment must still be LEFT of destination: turnX = x2 - OFFSET
2342
+ * Path: right horizontal past source down/up LEFT back to destination
2344
2343
  */
2345
2344
  declare function DependencyLine({ x1, y1, x2, y2, theme, onDelete, lineStyle, isHoverLayer, }: DependencyLineProps): react_jsx_runtime.JSX.Element;
2346
2345