What's Changed
- refactor(core): rename viewpane to viewport by @bcakmakoglu in #553
- refactor(core): merge
defaultZoom
&defaultPosition
todefaultViewport
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 olddefaultZoom
anddefaultPosition
props have been merged into a single object calleddefaultViewport
.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