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

drag blocks after generation #1507

Open
y-nk opened this issue Aug 9, 2024 · 3 comments
Open

drag blocks after generation #1507

y-nk opened this issue Aug 9, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@y-nk
Copy link

y-nk commented Aug 9, 2024

Is your feature request related to a problem? Please describe.
I've generated a graph which is quite messy and does not render well. I understand mermaid is supposed to be statically rendering, but i'd like to be able to move the blocks a little to understand it better.

Describe the solution you'd like
The capability to drag the blocks after rendering. It should be stateless and any change of the graph which requires layout re-rendering would erase the modifications.

Describe alternatives you've considered
Build my own renderer, lol.

Additional context
I'm feeling this will be closed.

@y-nk y-nk added the enhancement New feature or request label Aug 9, 2024
@y-nk
Copy link
Author

y-nk commented Aug 9, 2024

image

redacted example, area which renders not well is circled in blue.

@sidharthv96
Copy link
Member

Hi @y-nk, large graphs get unruly with dagre. Can you try using flowchart-elk?
Regarding dragging, it's not supported currently. But, we are working on a custom renderer in MermaidChart.com that would help drag nodes around.

@y-nk
Copy link
Author

y-nk commented Aug 9, 2024

hi @sidharthv96 ! I didn't know about this but i'll try, thanks a lot for the nice recommendations. if ever the custom renderer lands, i hope i could help to make that drag happen 🙏

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

No branches or pull requests

2 participants