rete.js.org icon indicating copy to clipboard operation
rete.js.org copied to clipboard

Usage with dagre.js ?

Open michealroberts opened this issue 2 years ago • 1 comments

Hi there, I like Elk.js, but I find that the algorithms from dagre.js give better positional constraints and a tighter tree structure than Elk.js ... is there support for dagre.js with Rete?

michealroberts avatar Oct 31 '23 10:10 michealroberts

Rete.js does not have native support for dagre.js (yet). I think if you have experience with dagre.js, converting a Rete NodeEditor + AreaPlugin graph (nodes, connections, positions, sizes) to a dagre.js graph and back should be pretty easy for you

https://retejs.org/docs/guides/data-structures https://retejs.org/docs/api/rete-area-plugin#areaplugin-translate https://retejs.org/docs/faq#10

Ni55aN avatar Nov 01 '23 18:11 Ni55aN