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

Add pan and zoom to DAG preview #46

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bentsherman
Copy link
Member

I ripped some JS code from here, which originates from the Mermaid live editor

The problem is that I have to set a fixed height for #svg-id or else it doesn't work. Ideally the height should auto-adjust to the height of the editor

@alvaromartmart
Copy link

Years ago I did a proof of concept of displaying nextflow DAG svg using OpenSeadragon, you can find it here. OpenSeadragon might be a bit overkill for this purpose (or not) but worth checking as the setup could be quite easy and it handles pan, zoom etc (even minimaps) out of the box.

@bentsherman bentsherman changed the title Add pan anz zoom to DAG preview Add pan and zoom to DAG preview Nov 12, 2024
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

Successfully merging this pull request may close these issues.

2 participants