0.0.1-beta.0 • Published 4 years ago

@mbraun/rete-advanced-selection-plugin v0.0.1-beta.0

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

@mbraun/rete-advanced-selection-plugin

General

This plugin performs the following changes on the default selection behaviour of rete.js:

  • Multiselect: Selection is not removed when dragging nodes without holding CTRL
  • Clicking on the WorkingArea removes the selection
  • Deselection-Operations that are performed by this library trigger the events nodedeselect (preventable) and nodedeselected

Usage

This package (currently) requires no further configuration. Just import and include it:

import AdvancedSelectionPlugin from '@mbraun/rete-advanced-selection-plugin';

editor.use(AdvancedSelectionPlugin);