mm-rete-auto-arrange-plugin

0.4.1 • Public • Published

Auto Arrange

Rete.js plugin

import AutoArrangePlugin from 'rete-auto-arrange-plugin';

editor.use(AutoArrangePlugin, { margin: {x: 50, y: 50 }, depth: 0 }); // depth - max depth for arrange (0 - unlimited)

editor.trigger('arrange', { node });

Examples

Readme

Keywords

none

Package Sidebar

Install

npm i mm-rete-auto-arrange-plugin

Weekly Downloads

29

Version

0.4.1

License

MIT

Unpacked Size

75.9 kB

Total Files

15

Last publish

Collaborators

  • chami