@xyflow/system@0.0.79

PX4/PX4-Autopilot@xyflow/system@0.0.79Jul 6, 2026by moklick

AI Summary

A performance and stability patch for the XYFlow system library, optimizing zooming/panning behavior and fixing rendering edge cases.

Key Highlights

  • Cache zoom pane extent to prevent synchronous layout on pan/pinch
  • Fix fitView with includeHiddenNodes ignoring hidden nodes
  • Check parent node existence before clamping position

New Features

  • Use correct fill color for bg pattern in dark mode
  • Always fire onPanZoomEnd when triggered by pan-on-scroll
  • Check element existence before checking properties

Full Release Notes

### Patch Changes

-   [#5850](https://github.com/xyflow/xyflow/pull/5850) [`c707267`](https://github.com/xyflow/xyflow/commit/c707267bc80bc954fdc69a08c9e00c98068dd613) - Cache the zoom pane extent so panning and pinching no longer force a synchronous layout.


-   [#5839](https://github.com/xyflow/xyflow/pull/5839) [`0c0cebc`](https://github.com/xyflow/xyflow/commit/0c0cebc08cc34d2852d1ea429df638732b3edf68) - Use correct fill color for bg pattern in dark mode


-   [#5851](https://github.com/xyflow/xyflow/pull/5851) [`56cf3b0`](https://github.com/xyflow/xyflow/commit/56cf3b00369a680a71743e4fb277db26e861d4b0) - Fix `fitView` with `includeHiddenNodes` ignoring hidden nodes that declare an intrinsic size (`width`/`height`/`initialWidth`/`initialHeight`) but were never measured


-   [#5845](https://github.com/xyflow/xyflow/pull/5845) [`a01bb6b`](https://github.com/xyflow/xyflow/commit/a01bb6bf51e2de4eeee052187f3ce533c0e77754) - Check if parent node is in node lookup before clamp the position to prevent throwing an error.


-   [#5849](https://github.com/xyflow/xyflow/pull/5849) [`9b3f390`](https://github.com/xyflow/xyflow/commit/9b3f390e21c1801832449389b069c4e5a13b4d7f) - Always fire `onPanZoomEnd` when `onPanZoomStart` was fired due to a pan-on-scroll wheel tick


-   [#5837](https://github.com/xyflow/xyflow/pull/5837) [`cdfcbeb`](https://github.com/xyflow/xyflow/commit/cdfcbeb9618437b2e7c35336db157e36a5a0731e) - Check for element existence and type before checking property existence in node/edge typeguards.