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

Guidance on Customizing Layout after Render (aka incremental/dynamic layout) #100

Closed
amcdnl opened this issue Nov 14, 2020 · 4 comments
Closed
Labels

Comments

@amcdnl
Copy link
Contributor

amcdnl commented Nov 14, 2020

I'm looking for guidance on how to use ELKJS in combination with a custom drag positioning.

I'm the author of https://reaflow.dev which uses ELKJS under the hood for its layout engine. One feature I would like to add is the ability for a user to drag a node to a new position and it stick there while when adding new nodes the rest of the layout stays the same.

I realize this is outside the scope of this project but would love to get the communities ideas on what the best way might be to accomplish this and keep all the power of elk too.

Thanks!

@uruuru
Copy link
Member

uruuru commented Nov 14, 2020

As you already state yourself, while this is being requested/desired regularly, it's out of scope and not well-suited for ELK layered.

For the record, some issues that discuss parts of this topic: eclipse-elk/elk#315 eclipse-elk/elk#355 eclipse-elk/elk#627.

@uruuru uruuru changed the title Guidance on Customizing Layout after Render Guidance on Customizing Layout after Render (aka incremental/dynamic layout) Nov 14, 2020
@amcdnl
Copy link
Contributor Author

amcdnl commented Nov 14, 2020

@uruuru - Thanks for the feedback! I had not seen those links so thats helpful.

Absolutely - I wasn't expecting the library to implement this feature - I was just curious if anyone had any tips of how to get started / what to avoid / etc.

@uruuru
Copy link
Member

uruuru commented Nov 15, 2020

Yes. I'll leave the issue open for discussions. We're always interested in the ways how others approach layout adjustments. After all, it may be inspiring for either adjustments in ELK or for a future layout algorithm specifically designed for this problem.

@uruuru
Copy link
Member

uruuru commented Oct 31, 2021

I'll close the issue itself. I've added it to the main readme for reference.

@uruuru uruuru closed this as completed Oct 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants