Skip to content

Conversation

benceruleanlu
Copy link
Member

@benceruleanlu benceruleanlu commented Oct 1, 2025

When vue nodes is enabled, switch to the new getSlotPosition for subgraph nodes as well.

This aligns links to slots in subgraphs.

Do note, getSlotPosition is actually the new standard, but we fallback to inputNode.getInputPos since it's so core, idea is to switch over fully to getSlotPosition without the vue flag once things are more stable.

┆Issue is synchronized with this Notion page by Unito

… Nodes mode\n\n- In subgraph link rendering, use getSlotPosition() for the regular node side when Vue Nodes are enabled.\n- Keeps IO anchors on subgraph IO nodes; regular node endpoints now match DOM-tracked slot centers.\n- Mirrors root-graph behavior; preserves fallback to legacy math when Vue Nodes are disabled.
@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Oct 1, 2025
Copy link

github-actions bot commented Oct 1, 2025

🎭 Playwright Test Results

⚠️ Tests passed with flaky tests

⏰ Completed at: 10/01/2025, 04:43:00 AM UTC

📈 Summary

  • Total Tests: 488
  • Passed: 457 ✅
  • Failed: 0
  • Flaky: 2 ⚠️
  • Skipped: 29 ⏭️

📊 Test Reports by Browser

  • chromium: View Report • ✅ 449 / ❌ 0 / ⚠️ 2 / ⏭️ 29
  • chromium-2x: View Report • ✅ 2 / ❌ 0 / ⚠️ 0 / ⏭️ 0
  • chromium-0.5x: View Report • ✅ 1 / ❌ 0 / ⚠️ 0 / ⏭️ 0
  • mobile-chrome: View Report • ✅ 5 / ❌ 0 / ⚠️ 0 / ⏭️ 0

🎉 Click on the links above to view detailed test results for each browser configuration.

@benceruleanlu benceruleanlu changed the title Fix: subgraph links anchor to Vue slot positions Align links to slots in subgraphs Oct 1, 2025
@benceruleanlu benceruleanlu merged commit 768b6e5 into bl-snap Oct 1, 2025
29 checks passed
@benceruleanlu benceruleanlu deleted the fix/subgraph-vue-slot-anchors-20250930-212843 branch October 1, 2025 22:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:links area:vue-migration size:XS This PR changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants