@mbraun/rete-advanced-selection-plugin

0.0.1-beta.0 • Public • Published

@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);

Readme

Keywords

Package Sidebar

Install

npm i @mbraun/rete-advanced-selection-plugin

Weekly Downloads

1

Version

0.0.1-beta.0

License

MIT

Unpacked Size

3.74 kB

Total Files

5

Last publish

Collaborators

  • braun-michael
  • michael.software