Introduction
This plugin automatically allows to move the selected nodes by a defined delta (by default 5) when pressing shift + keyboard arrows (up, down, left or right). The selected nodes WeaveEllipseToolAction move by the define delta each time a shift + keyboard arrow key is pressed.
Usage
Import the Plugin
Start by importing the plugin:
import { WeaveStageKeyboardMovePlugin } from "@inditextech/weave-sdk";
Register the Plugin
Then register the plugin on the Weave class instance.
const instance = new Weave({
...
plugins: [
...,
new WeaveStageKeyboardMovePlugin(), (1)
]
})
| 1 | Added in this step. |