Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

rete-context-menu-plugin

retejs33.8kMIT2.0.6TypeScript support: included
plugin, rete, Rete.js

readme

Rete.js Context menu plugin

Made in Ukraine Discord

Rete.js plugin

Key features

  • Context menu: enables the opening of a context menu for the area and nodes
  • Presets: predefined configuration for context menu content
    • Classic: provides list of nodes for the area and Delete/Clone items for individual nodes

Getting Started

Please refer to the guide and example using this plugin

Contribution

Please refer to the Contribution guide

License

MIT

changelog

2.0.6 (2025-02-23)

Bug Fixes

2.0.5 (2025-02-23)

Bug Fixes

2.0.4 (2024-08-30)

Bug Fixes

  • update cli and fix linting errors (e5447be)

2.0.3 (2024-04-17)

Bug Fixes

  • delete connection error (8cf887d)

2.0.2 (2024-03-07)

Bug Fixes

2.0.1 (2024-01-27)

Bug Fixes

v2.0.0-beta.9

Support subitems

Presets.classic.setup([
  ["Math", [
    ["Number", () => new NumberNode()],
  ]]
])

v2.0.0-beta.7

Breaking changes:

  • removed generic from ContextMenuExtra (ContextMenuExtra<Schemes> -> ContextMenuExtra)
  • removed generic from ContextMenuPlugin (new ContextMenuPlugin<Schemes, AreaExtra> -> new ContextMenuPlugin<Schemes>)