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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.4.134latest

Version History

VersionDownloads (Last 7 Days)Published
0.4.134
0.4.00

Package Sidebar

Install

npm i mm-rete-auto-arrange-plugin

Weekly Downloads

34

Version

0.4.1

License

MIT

Unpacked Size

75.9 kB

Total Files

15

Last publish

Collaborators

  • chami