mirror of https://github.com/langgenius/dify.git
- Add ENTRY_NODE_WRAPPER_OFFSET constant (x: 0, y: 21) for Start/Trigger nodes - Implement getNodeAlignPosition() to calculate actual inner node positions - Fix horizontal/vertical helpline rendering to account for wrapper offset - Fix snap-to-align logic to properly align inner nodes instead of wrapper - Correct helpline width/height calculation by subtracting offset for entry nodes - Ensure backward compatibility: only affects Start/Trigger nodes with EntryNodeContainer wrapper This fix ensures that Start and Trigger nodes (which have an EntryNodeContainer wrapper with status indicator) align based on their inner node boundaries rather than the wrapper boundaries, matching the alignment behavior of regular nodes. |
||
|---|---|---|
| .. | ||
| use-workflow-run-event | ||
| index.ts | ||
| use-DSL.ts | ||
| use-available-blocks.ts | ||
| use-checklist.ts | ||
| use-config-vision.ts | ||
| use-dynamic-test-run-options.tsx | ||
| use-edges-interactions-without-sync.ts | ||
| use-edges-interactions.ts | ||
| use-fetch-workflow-inspect-vars.ts | ||
| use-helpline.ts | ||
| use-inspect-vars-crud-common.ts | ||
| use-inspect-vars-crud.ts | ||
| use-node-data-update.ts | ||
| use-nodes-available-var-list.ts | ||
| use-nodes-interactions-without-sync.ts | ||
| use-nodes-interactions.ts | ||
| use-nodes-layout.ts | ||
| use-nodes-meta-data.ts | ||
| use-nodes-sync-draft.ts | ||
| use-panel-interactions.ts | ||
| use-selection-interactions.ts | ||
| use-set-workflow-vars-with-value.ts | ||
| use-shortcuts.ts | ||
| use-tool-icon.ts | ||
| use-workflow-history.ts | ||
| use-workflow-interactions.ts | ||
| use-workflow-mode.ts | ||
| use-workflow-refresh-draft.ts | ||
| use-workflow-run.ts | ||
| use-workflow-search.tsx | ||
| use-workflow-start-run.tsx | ||
| use-workflow-variables.ts | ||
| use-workflow.ts | ||