0.4.1 • Published 1 year ago

mm-rete-auto-arrange-plugin v0.4.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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

0.4.1

1 year ago

0.4.0

1 year ago