github bcakmakoglu/vue-flow v1.8.0

latest releases: @vue-flow/core@1.41.2, v1.41.2, v1.41.1...
21 months ago

What's Changed

  • refactor(core): rename viewpane to viewport by @bcakmakoglu in #553
  • refactor(core): merge defaultZoom & defaultPosition to defaultViewport by @bcakmakoglu in #554
  • fix(core): prevent expandParent from moving parent node while expanding by @bcakmakoglu in #556
  • feat(core): A11y by @bcakmakoglu in #544
  • chore: next release by @github-actions in #555

🚀 New Features

A11y

This release brings A11y support to Vue Flow. All nodes and edges can now receive a focusable and ariaLabel prop, which can be used to enhance A11y experience. You can also enable focusable globally by using nodesFocusable or edgesFocusable.
Additionally, nodes can be moved using keyboard controls (Arrow-Keys).

Props

  • disableKeyboardA11y: Use this prop to disable Keyboard controls on the graph.
  • defaultViewport: The old defaultZoom and defaultPosition props have been merged into a single object called defaultViewport.
  • nodesFocusable: Globally enable that nodes can be focused.
  • edgesFocusable: Globally enable that edges can be focused.

Elements

  • focusable: Enable focusing for a single node/edge by setting this option.
  • ariaLabel: Specify an aria label for a node/edge

Full Changelog: v1.7.2...v1.8.0

Don't miss a new vue-flow release

NewReleases is sending notifications on new releases.