Dariusz L b118c03be1 refactor(linker): improve _locateNode zoom/pan calculation
- Split scale into startScale and targetScale for clarity
- Introduce padding constants (140px horizontal, 96px vertical)
- Calculate fitScale based on viewport and node dimensions with padding
- Constrain target scale between 0.15 and 1 minimum/max bounds
- Extract getCenteredOffset helper for offset calculations
- Simplify animation interpolation using consistent offset objects
2026-05-10 06:42:19 +02:00
2026-04-27 13:33:53 +02:00
2026-04-27 13:14:18 +02:00
2026-04-27 13:01:17 +02:00
2026-04-27 13:16:57 +02:00
S
Description
No description provided
Readme MIT
11 MiB
Languages
JavaScript 47.5%
Python 45.7%
CSS 6.8%