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 });
mm-rete-auto-arrange-plugin
0.4.1 • Public • PublishedReadme
Keywords
nonePackage Sidebar
Install
npm i mm-rete-auto-arrange-plugin
Repository
Weekly Downloads
29
Version
0.4.1
License
MIT
Unpacked Size
75.9 kB
Total Files
15