PackageTrack

npm

@vue-flow/core

1.48.2bcakmakoglu/vue-flow

[![Vue flow](vue-flow.gif)](https://vueflow.dev/) ![top-language](https://img.shields.io/github/languages/top/bcakmakoglu/vue-flow) ![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/bcakmakoglu/vue-flow) ![GitHub last commit](

Release timeline

179 releases since 2022
20222026

One column per quarter.

Releases

  1. 1.48.228 Jan 2026
    Release notes

    What's Changed

    Patch Changes

    • #2014 c81d765 Thanks @bcakmakoglu! - Disable selection on drag by setting the keycode to true when panning mode is active.

    Full Changelog: v1.48.1...v1.48.2

    Open source →
    Additional notes

    87b2d2c...52a0301

    Bug Fixes

    • Use autoscale prop to check if resize handle should scale (#2012) (75a2e05)
    • Disable selection on drag when panning mode is active (#2014) (8c1d390)
    Open source →
  2. 1.48.117 Dec 2025
    Release notes

    What's Changed

    Patch Changes

    • #1996 1c9732a Thanks @bcakmakoglu! - Use the connecting handle result when updating a connection, so we get an accurate connection position for toPosition.

    • #2001 08d57fa Thanks @bcakmakoglu! - Block pane ctx-menu from triggering if panOnDrag includes btn 2 (right-click) and let viewport emit pane ctx menu.

    Full Changelog: v1.48.0...v1.48.1

    Open source →
    Additional notes

    09cb136...87b2d2c

    Bug Fixes

    • Add missing ts script type to getting started example (#1971) (1b15e24)
    • Use connecting handle to update connection (#1996) (474e830)

    Reverts

    • Block pane ctx menu if panOnDrag includes [2] (right-click) (#2001) (d98d3b5)
    Open source →
  3. 1.48.021 Nov 2025
    Release notes

    What's Changed

    Minor Changes

    • #1978 7acd6d7 Thanks @bcakmakoglu! - Separate flow import and export object shapes and interfaces. An export object has all fields as required, while an import object makes all fields optional.

    Patch Changes

    • #1988 dd6a91f Thanks @bcakmakoglu! - Correctly unwrap disableKeyboardA11y ref when checking if a selection can be moved or not.

    • #1989 3f6e09a Thanks @bcakmakoglu! - Use position instead of computedPosition as updated position when moving a child node via keyboard.

    Full Changelog: v1.47.0...v1.48.0

    Open source →
    Additional notes

    ff69823...09cb136

    Bug Fixes

    • Unwrap disableKeyboardA11y to check if keyboard movement is allowed (#1988) (ce4a8fb)
    • Use position instead of computedPos as keyboard move pos (#1989) (0ced769)

    Miscellaneous Tasks

    • Remove duplicate showZoom prop description (04d9e59)
    • Update showcase (62a1d41)

    Refactor

    • Separate import and export objects and interfaces (#1978) (6008d63)
    Open source →
  4. 1.47.02 Oct 2025
    Release notes

    What's Changed

    Minor Changes

    • #1967 7828f4a Thanks @bcakmakoglu! - Replace the existing offset option for fitView with a more expressive padding option allowing users to define padding per sides.

    Full Changelog: v1.46.5...v1.47.0

    Open source →
    Additional notes

    9e2359c...ff69823

    Features

    • Replace fitView option offset with expressive padding (#1967) (cca5ab8)
    Open source →
  5. 1.46.522 Sept 2025
    Release notes

    dee75dd...9e2359c

    Bug Fixes

    • Unwrap connection line status ref (#1962) (7729eff)

    Miscellaneous Tasks

    Open source →
  6. 1.46.411 Sept 2025
    Release notes

    c9c9040...dee75dd

    Bug Fixes

    • Remove node border styles from required styles (#1954) (2ebe3d9)
    Open source →
  7. 1.46.35 Sept 2025
    Release notes

    ed35bde...c9c9040

    Bug Fixes

    • Add nullish operator to check visibility (#1942) (67832e5)
    Open source →
  8. 1.46.231 Aug 2025
    Release notes

    7a46a74...ed35bde

    Bug Fixes

    • Only emit position changes if change occurred (#1939) (2bacaa8)
    Open source →
  9. 1.46.131 Aug 2025
    Release notes

    e293519...7a46a74

    Bug Fixes

    • Use valid handle result as connecting handle (#1932) (dd48e47)
    • Correctly check if an event has any listeners bound to it (#1935) (e9f0cdf)
    • Skip resize handler if node not visible (#1936) (c9c26d0)
    • Prevent multi touch from aborting connections (#1938) (490473d)

    Documentation

    • Remove info on pointer events removal when elements selectable is false (3c96b38)

    Refactor

    • Avoid passing reactive values to position changes (#1937) (bd606b9)
    Open source →
  10. 1.46.015 Aug 2025
    Release notes

    e094426...e293519

    Bug Fixes

    • Use 1 as zoomstep for minimap and apply factor based on macOs (#1923) (58a52e1)
    • Fetch correct source and target nodes for isValidConnection (#1922) (c2aad1e)

    Documentation

    Features

    • Expose wheelDelta utility (#1918) (5fbbc82)

    Refactor

    • Use event target for Handle pointer down events (#1924) (299a045)
    Open source →
  11. 1.45.17 Aug 2025
    Release notes

    45225bf...e094426

    Bug Fixes

    • Use correct handlesuffix in getHandleConnections (#1880) (a43da6f)
    • Add type="button" to avoid form submissions (#1911) (#1912) (dfae661)
    • Emit node drag-start, drag and drag-end events on selection drag (#1913) (ed18865)
    • Calculate overlapping area correctly (#1914) (e97a65b)

    Documentation

    • Code errors in "Updating Node Data" (#1900) (b5c4c0e)

    Examples

    Refactor

    • Add auto-scale prop & scale resize controls with zoom level (#1872) (f4e139f)
    Open source →
  12. 1.45.010 Jun 2025
    Release notes

    a16d851...45225bf

    Documentation

    • Add vitepress plugin llms (#1865) (eec568c)

    Features

    • Add dom attributes option for nodes (#1861) (4c1b064)
    • Add dom attributes option for nodes and edges (#1869) (8fa7010)
    Open source →
  13. 1.44.019 May 2025
    Release notes

    7ecca61...a16d851

    Features

    • Add ease option to viewport transform functions (#1848) (00bc28b)
    • Add interpolate option to viewport transforming functions (#1851) (505fbfe)

    Refactor

    • Use shallowRef where possible (#1847) (b792d7f)
    Open source →
  14. 1.43.215 May 2025
    Release notes

    96e07ee...7ecca61

    Bug Fixes

    • Allow multiselect when input is focused (#1842) (666e4ea)
    • Use whole handle for snapping area (#1843) (735c81c)
    Open source →
  15. 1.43.124 Apr 2025
    Release notes

    78e29f2...96e07ee

    Bug Fixes

    • Add missing vue-flow__container class to marker defs (#1833) (ae9c6a0)

    Ci

    Open source →
  16. 1.43.023 Apr 2025
    Release notes

    c24ba07...78e29f2

    Bug Fixes

    • Add aria hidden to markers (#1817) (cb588c8)
    • Subtract container bounds when getting pointer position (#1829) (265f928)
    • Fall back to changedTouches for touchend events (#1830) (cc65f12)

    Documentation

    • Correct template syntax (#1797) (8f5f573)

    Miscellaneous Tasks

    • Cleanup getHandleBounds (#1828) (7d9ffe3)

    Refactor

    • Allow passing null/undefined to use node connection args (#1820) (7a09afa)
    Open source →
  17. 1.42.529 Mar 2025
    Release notes

    f49e509...c24ba07

    Bug Fixes

    • Add button to elements to ignore in useKeyPress (#1807) (967569a)
    • Filter hidden nodes from bounds (#1808) (da6dc8b)
    Open source →
  18. 1.42.417 Mar 2025
    Release notes

    e9168d3...f49e509

    Bug Fixes

    • Use null as fallback id for edge source handle (#1794) (c9fd24d)
    • Reset drag items on drag end (#1798) (b85b0ec)
    • Remove edge lookup update when updating connection lookup (05e4df2)
    Open source →
  19. 1.42.313 Mar 2025
    Release notes

    d3b0eb9...e9168d3

    Bug Fixes

    • Unwrap ref when checking if connection in progress (#1789) (410a59d)
    Open source →
  20. 1.42.29 Mar 2025
    Release notes

    d7f5506...d3b0eb9

    Bug Fixes

    • Bind attrs to minimap node (#1754) (acdd1ad)
    • Prevent pane click event when connection is in progress (#1776) (49b2780)
    • Avoid removing handle bounds on handle unmount (#1781) (dd9c92f)
    • Set default value for isVisible to undefined (#1785) (2ba98ef)

    Miscellaneous Tasks

    Open source →
  21. 1.42.116 Jan 2025
    Release notes

    5a5b2c1...d7f5506

    Bug Fixes

    • Correct connection keys (#1749) (424f6cf)

    Miscellaneous Tasks

    • Simplify animated layout example (#1747) (e94611a)
    Open source →
  22. 1.42.012 Jan 2025
    Release notes

    549d5ce...5a5b2c1

    Bug Fixes

    • Hide minimap node if graph node is hidden (#1739) (0a0d8af)

    Features

    • Add useNodeConnections composable (#1728) (268ed0e)

    Miscellaneous Tasks

    Refactor

    • Allow setting handleId in useNodeConnections (#1732) (3d1b85f)
    • Use connection lookup to check for selected elements (#1737) (6f3ed67)
    • Inherit attrs on edge path el in BaseEdge (#1742) (44b9232)
    • Rename useNodeConnections params (#1743) (f78c348)
    Open source →
  23. 1.41.74 Jan 2025
    Release notes

    265e03d...549d5ce

    Bug Fixes

    • Add missing import (f438acb)
    • Use center position of handle as snapping point for connection lines (#1625) (b33da47)

    Documentation

    • Add edge markers example (fe239b5)
    • Add docs section about v-modelling nodes and edges (2231ee4)

    Miscellaneous Tasks

    Open source →
  24. 1.41.67 Dec 2024
    Release notes

    d22a239...265e03d

    Bug Fixes

    • Prevent scrolling when using arrow keys to move nodes (#1698) (04d1355)
    • Prevent scrolling when using arrow keys to move node selection (#1702) (600d1a6)
    • Update source/target node of updated edge (#1705) (7a022c8)
    • Allow control key as pan activation key code (#1707) (f4f2494)

    Documentation

    • Add loopback edge example (#1708) (4d09783)
    Open source →
  25. 1.41.513 Nov 2024
    Release notes

    6bb195d...d22a239

    Bug Fixes

    • Check if dragEnd event is UseDrag or MouseTouch event (#1680) (5a028cf)
    • Set default offset to 0 (#1692) (129d543)
    • Allow using + as a key in key combinations (#1693) (2e2fa9a)
    • Release key combination presses (#1696) (4b8139d)
    • Escape node labels (#1695) (f7a2664)

    Documentation

    • Add custom components to getting-started example (#1677) (f3075bc)
    • Add simple layout example (#1678) (61f4b0d)
    Open source →
  26. 1.41.41 Nov 2024
    Release notes

    367f894...6bb195d

    Bug Fixes

    • If selection key code is true prevent pan on drag on left mouse btn (#1670) (1e3acb1)
    Open source →
  27. 1.41.31 Nov 2024
    Release notes

    becb928...367f894

    Bug Fixes

    • Typo in SnappableConnectionLine.vue (#1638) (a90010b)
    • Allow pan on drag for non left-btn when selectionKeyCode is true (#1662) (fe552fc)
    • Use all handle bounds in loose connection mode (#1665) (cfc2332)
    • Start patterns at 0,0 (#1666) (900850d)
    • Set isPressed to true on blur and contextmenu events if permant keypress is enabled (#1667) (72e0e2e)
    • Allow pan on drag for other mouse btns if left is disabled (ecd21ce)

    Miscellaneous Tasks

    Open source →
  28. 1.41.216 Sept 2024
    Release notes

    524d812...becb928

    Bug Fixes

    • Allow pointer events if mouse evt listeners exist (#1618) (6338a9d)
    • Calculate distance to trigger drag-click (#1624) (6cc3042)

    Miscellaneous Tasks

    Open source →
  29. 1.41.16 Sept 2024
    Release notes

    c555dfd...524d812

    Bug Fixes

    • Prevent overwriting size in node styles object (#1608) (f4bde90)
    • Prevent drag click when multi selection is active (#1609) (43ed0a8)
    Open source →
  30. 1.41.030 Aug 2024
    Release notes

    b3e457a...c555dfd

    Bug Fixes

    • Don't set user selection flags on pointer down (#1600) (eb12bdc)

    Documentation

    • Add info on setting up vue project (f4bffeb)
    • Add info on listening to events (a7a9fd5)

    Features

    • Add getHandleConnections action (#1595) (9c003d4)

    Miscellaneous Tasks

    Open source →
  31. 1.40.120 Aug 2024
    Release notes

    538b03e...b3e457a

    Bug Fixes

    • Inline event names (#1591) (47281fd)
    Open source →
  32. 1.40.019 Aug 2024
    Release notes

    809a9a4...538b03e

    Bug Fixes

    • Correct controlled flow docs and replace applyChanges with applyDefault (#1574) (876c198)
    • Simplify event emit definitions to avoid hitting complexity limit of TS (#1585) (ebc604d)
    • Only display grab cursor when panOnDrag is on left mouse button (#1586) (e90f4cc)

    Documentation

    • Update layouting example (#1576) (2976b11)

    Refactor

    • Remove null as return type of data in useNodesData (#1575) (1d772af)
    Open source →
  33. 1.39.36 Aug 2024
    Release notes

    faeed3d...809a9a4

    Bug Fixes

    • Push into changes arr instead of using index (#1569) (afa8861)
    Open source →
  34. 1.39.25 Aug 2024
    Release notes

    90a289e...faeed3d

    Bug Fixes

    • Only capture pointer if valid selection has started (#1565) (a8d837b)
    Open source →
  35. 1.39.127 Jul 2024
    Release notes

    d9a133b...90a289e

    Bug Fixes

    • Check if injected state matches options and scope id (#1562) (fff558f)

    Miscellaneous Tasks

    • Enable sitemaps (#1554) (6d9535a)
    Open source →
  36. 1.39.015 Jul 2024
    Release notes

    f2ecf29...d9a133b

    Bug Fixes

    • Dispatch click if drag move was attempted (#1534) (8539731)
    • Handle pointer capture for selection on drag (#1543) (f329831)
    • Prevent calling selectionEnd on selection click (#1545) (763f107)

    Features

    • Add autoPanSpeed prop (#1535) (d4ccb11)
    • Add paneClickDistance (#1542) (180109c)
    Open source →
  37. 1.38.59 Jul 2024
    Release notes

    0814d42...f2ecf29

    Bug Fixes

    • Ignore minor drag movements when marking aborted drag (dab5ab4)

    Miscellaneous Tasks

    Open source →
  38. 1.38.48 Jul 2024
    Release notes

    d368263...0814d42

    Bug Fixes

    • Emit node click if drag was aborted (#1525) (9d14595)

    Miscellaneous Tasks

    • Cleanup deprecation notices (#1527) (0a0dfe9)
    Open source →
  39. 1.38.38 Jul 2024
    Release notes

    50b32ef...d368263

    Bug Fixes

    • Remove backdrop filter (45c5961)
    • Emit node click event when drag was ended with no movement (#1522) (4548021)
    Open source →
  40. 1.38.21 Jul 2024
    Release notes

    d3b706e...50b32ef

    Bug Fixes

    • Avoid re-snapping to same handle (#1514) (9154687)
    • Use post flush to re-observe nodes after toggling visibility (#1517) (d8ddc4d)

    Miscellaneous Tasks

    • Upgrade turbo to latest (#1472) (8f53488)
    Open source →
  41. 1.38.11 Jul 2024
    Release notes

    d0728ac...d3b706e

    Bug Fixes

    • Correct calculation of nodes inside selection (#1509) (c8b5522)
    Open source →
  42. 1.38.01 Jul 2024
    Release notes

    e2dec5c...d0728ac

    Bug Fixes

    • Remove v-memo from edge renderer (#1506) (a52ac6e)
    • Correct pane pointer evt handlers (#1505) (e57f22c)

    Documentation

    • Add section on changes (3ca9aca)
    • Add info on handle limit (ea59a71)
    • Add info on connection mode (182a6d9)

    Features

    • Make useKeyPress public and export it (e435485)
    • Allow string array or object as class to node/edge objects (#1502) (410765b)

    Miscellaneous Tasks

    Refactor

    • Replace until watcher with onMounted in handle cmp (#1488) (cf32d59)
    • Allow passing target to useKeyPress (ea75f8a)
    • Use pointer evts in pane and prevent cancel of selection (4effbb0)
    • Calculate correct handle pos in handle lookup (#1494) (09e2221)
    • Remove useWindow (#1504) (545bb4e)
    • Use correct end handle position in connection line (#1508) (3489fae)
    Open source →
  43. 1.37.118 Jun 2024
    Release notes

    fdc656a...e2dec5c

    Bug Fixes

    • Correct id access in useVueFlow (#1483) (e2ce205)

    Refactor

    • Upgrade node to 20 (14ae927)
    • Remove qodana scan workflow file (aab43d5)
    Open source →
  44. 1.37.018 Jun 2024
    Release notes

    09a44b0...fdc656a

    Documentation

    Features

    • Add EdgePathParams type to edge utils (#1479) (9b4e3b2)

    Miscellaneous Tasks

    • Add state injection section to useVueFlow docs (fe55415)
    • Update README (202d767)
    • Fix typo and update title (ff05551)
    • Cleanup v-model usages (889797e)
    • Update validation example (55a76cd)

    Refactor

    • Use empty arr when updating all internals (#1476) (cff55c8)
    • Add overloads to useVueFlow (#1481) (4fe1a7b)
    Open source →
  45. 1.36.012 Jun 2024
    Release notes

    dd6aff2...09a44b0

    Bug Fixes

    • Add width/height to icons (6ee3170)
    • Hide graph until initial fitview is done (#1459) (ed2e574)
    • Event type (19df6ca)

    Documentation

    • Prettify example css files (51986d7)

    Examples

    • Update pinia example (#1458) (6503b3e)
    • Add screenshot example (#1456) (f74be96)
    • Add math example (#1461) (a8ba973)
    • Add confirm delete example (#1466) (257c7aa)

    Features

    • Add updateEdgeData action (#1452) (49dc8ae)
    • Add useEdgesData composable (#1462) (a9ccd61)

    Miscellaneous Tasks

    • Cleanup math example (67da354)
    • Correct header styles (ba43421)
    • Update repl vue version (50a3b0e)
    • Update save and restore example (5e953bd)
    • Update math examples styles (ee8d30d)
    • Update interaction example styles (01e1b32)
    • Update visibility example styles (78f2635)
    • Update vitepress to latest (#1468) (5dc8711)
    • Update example styles (#1469) (d71de0a)
    • Update deps-dev (#1473) (a647472)
    • Cleanup unused event arg (#1475) (850f54a)

    Refactor

    • Reduce node bounds calculation (#1453) (cd5103e)
    • Use for loop (9a7e4ac)
    • Remove initialized from graph-nodes (#1457) (0c5dfdd)
    • Remove node intersections arg from drag events (#1460) (0825101)
    • Remove connectedEdges from node mouse events (#1464) (798faf1)
    • Deprecate useVueFlow options arg (#1465) (70b39cc)
    • Replace arr reduce methods (#1467) (d658c1d)
    • Cleanup connection line component (#1470) (d429394)
    Open source →
  46. 1.35.06 Jun 2024
    Release notes

    c91b30f...dd6aff2

    Bug Fixes

    • Disable zoom on mobile when zoomToPinch is false (#1449) (1b5e14a)
    • Disable drag when using multi-touch (#1448) (8bc1c99)
    • Use computed edge ref (faf67c2)

    Documentation

    Features

    • Add edge id to handle connections (1bb7a19)

    Miscellaneous Tasks

    Refactor

    • Use vue-flow__marker on marker defs el (5d3f87f)
    • Remove auto-generated handle ids (c822f9c)
    • Check if starting handle exists (660831c)
    • Use all nodes in node renderer (ea45545)
    • Render null if node is hidden (3498399)
    • Render null if edge is hidden (5e9db1c)
    • Remove hidden check from getNodes & getEdges (cc0b8b6)
    • Use node/edge id as only dependency for nodes/edges list (#1447) (876b71d)
    • Use node lookup map internally (#1450) (a592fbd)

    Testing

    • Update handle ids in tests (82d9991)
    Open source →
  47. 1.34.131 May 2024
    Release notes

    2443752...c91b30f

    Bug Fixes

    • Use separate prevConnections map (cd36279)

    Features

    • Add maskBorderRadius prop (bbd44bb)

    Miscellaneous Tasks

    Refactor

    Open source →
  48. 1.34.028 May 2024
    Release notes

    20d2d6c...2443752

    Bug Fixes

    • Allow PanelPositionType as position value (c59803e)
    • Allow PanelPositionType as position value (1c4e208)

    Features

    • Add missing styles warning (8a8c8f5)
    • Export PanelPositionType (6bf4107)

    Miscellaneous Tasks

    Open source →
  49. 1.33.815 May 2024
    Release notes

    e857398...20d2d6c

    Bug Fixes

    • Set specific pnpm version (7267baa)
    • Prevent auto pan if set to false (96b78ce)

    Miscellaneous Tasks

    Open source →
  50. 1.33.712 May 2024
    Release notes

    4cdf5f2...e857398

    Bug Fixes

    • Allow wheel to bubble if not used by vf (7f51fae)

    Miscellaneous Tasks

    Open source →
  51. 1.33.629 Apr 2024
    Release notes

    09009ce...4cdf5f2

    Bug Fixes

    • Set ltr for vue flow wrapper (590afc8)
    • Allow pinch-zoom if preventScrolling is disabled (ffb649e)
    • Pass path options to edges (464dc58)
    • Add options to useKeyPress (b0f1bf0)
    • Prevent delete action if inside input field (84969ab)

    Documentation

    • Replace source.id with source (#1369) (11229e4)

    Miscellaneous Tasks

    Open source →
  52. 1.33.524 Mar 2024
    Release notes

    e776844...09009ce

    Bug Fixes

    • Store vf instance on vue app for ssr (3170022)

    Documentation

    • Fix custom-node example for safari (b2d37e5)

    Miscellaneous Tasks

    Refactor

    • Remove reactivity transform (f858d13)
    • Move storage to separate file (0a9e950)
    Open source →
  53. 1.33.46 Mar 2024
    Release notes

    e2bae63...e776844

    Miscellaneous Tasks

    Reverts

    • Revert extending events from separate interfaces (e06d2e6)
    Open source →
  54. 1.33.36 Mar 2024
    Release notes

    8a99069...e2bae63

    Bug Fixes

    • Use separate interfaces for node/edge events (4e50efe)

    Miscellaneous Tasks

    Open source →
  55. 1.33.228 Feb 2024
    Release notes

    41e0c0b...8a99069

    Bug Fixes

    • Remove ref prop from BaseEdge (ba90a48)
    • Use nullish check to fallback to default center (a8c09a9)
    • Check if dimensions exist in useNodesInitialized (3ed91a0)

    Miscellaneous Tasks

    Open source →
  56. 1.33.123 Feb 2024
    Release notes

    8e69e1d...41e0c0b

    Bug Fixes

    • Correct typing of useNodesData return (1184941)

    Miscellaneous Tasks

    Open source →
  57. 1.33.021 Feb 2024
    Release notes

    8fb6aba...8e69e1d

    Bug Fixes

    • Correct prop names for node guide (#1321) (e64ab35)
    • Prevent esc keypress when a11y is disabled (f815ef6)
    • Use default cursor and apply drag cursor if node is draggable (c48d3c9)

    Features

    • Add type and id to useNodesData (68ba907)

    Miscellaneous Tasks

    Refactor

    • Replace vueuse imports with vue (e5a8465)

    Testing

    • Update useNodesData tests (4666fec)
    Open source →
  58. 1.32.115 Feb 2024
    Release notes

    303419d...8fb6aba

    Bug Fixes

    • Correct smoothstep edge pathing (e5aaaa6)

    Miscellaneous Tasks

    Open source →
  59. 1.32.015 Feb 2024
    Release notes

    fd4f0c8...303419d

    Bug Fixes

    • Move node from edges array (6dd9514)
    • Wrap marker urls with quotes (5094e33)

    Documentation

    • Add run process to layouting example (7bd2996)
    • Update class names in theming guide (d120aa8)

    Examples

    • Add example for running a process tree (0ae7502)
    • Animation edge (43a1c9d)

    Features

    • Add animation edge to layouting example (75355b0)
    • Wait for edge animation to finish to load node (fafad1e)
    • Add shuffle to layout example (a0abe3a)
    • Add useLayout composable (ce7333f)
    • Add useNodesInitialized composable (f2165af)
    • Add edgeId to useHandleConnections return (3a0dc0f)

    Miscellaneous Tasks

    Refactor

    • Use composable tester cmp (9837e0d)
    • Use connection line tester cmp (96b93e3)
    • Use data obj for labels in default nodes (6c638b8)
    • Deprecate bgcolor prop (d288a9b)
    • Deprecate getters (c8c77a2)
    • Use useNodesInitialized to emit nodesInitialized (ffdea45)
    • Rename useViewport to useViewportHelper (300c742)
    • Use all nodes for handle lookup (dda5b58)

    Testing

    • Add useNodesInitialized test (3fa7fde)
    Open source →
  60. 1.31.05 Feb 2024
    Release notes

    b13d53d...fd4f0c8

    Bug Fixes

    • Import pinia example (1c54e39)
    • Set opacity on intro until el are set (da8f82a)
    • Update node dimensions on next tick (4bbc14b)
    • Use existing node/edge obj for assignment (983971f)
    • Avoid options passed to useVueFlow overwriting default state (04658b2)
    • Avoid adding invalid edges (like null or undefined) (aaf1069)

    Documentation

    Features

    • Add useNodeId composable (00a1f9d)
    • Add useHandleConnections composable (064cfd8)
    • Add init hook (fd84025)
    • Add viewport helper to state (c855dfe)
    • Add updateNode & updateNodeData actions to store (fe1d801)
    • Add useNodesData composable (cecf9d4)
    • Add error args to err (f36fa77)

    Miscellaneous Tasks

    Performance

    • Replace Array.forEach loops (c4b4a04)

    Refactor

    • Replace watchEffect with onMounted/onBeforeUnmount (d001d80)
    • Remove error from useNodeId (aab31f8)
    • Find handle by id regardless of num of handles (84c2f6d)
    • Remove unnecessary keys (97f4a17)
    • Move fitViewOnInit to node dimensions update (f09b7d9)
    • Omit events when calling toObject (72cc175)
    • Use useOnInitHandler to emit paneReady event (5798cc5)
    • Allow passing MaybeRefOrGetter to useNodesData (f4fb4d8)
    • Allow null instead of undefined as id for useHandleConnections (7161e9e)
    • Add missing viewport helper functions to actions (417a301)
    • Call nodes initialized whenever areNodesInitialized is true (584782b)
    • Show repl import map and tsconfig opts (6f33a3b)
    • Use wider styles for example pages (32700b1)
    • Call fitViewOnInit when node dimensions are initially set (0544fbd)
    • Pass renderers to viewport cmp as slots (cc9f4fb)
    • Cast zIndex to ref (259514a)
    • Remove exports from barrel files (308338f)

    Testing

    • Add tests for updateNodeData & updateNode (4d8cd3c)
    • Add tests for useNodesData (7f6ae2f)
    Open source →