Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Usage with dagre.js ? #70

Open
michealroberts opened this issue Oct 31, 2023 · 1 comment
Open

Usage with dagre.js ? #70

michealroberts opened this issue Oct 31, 2023 · 1 comment

Comments

@michealroberts
Copy link

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?

@Ni55aN
Copy link
Member

Ni55aN commented Nov 1, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants