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

ZOOM_MAX_SCALE Limiting Readability of Large Diagrams #94

Open
lane-certn opened this issue Dec 29, 2023 · 1 comment
Open

ZOOM_MAX_SCALE Limiting Readability of Large Diagrams #94

lane-certn opened this issue Dec 29, 2023 · 1 comment

Comments

@lane-certn
Copy link

The ZOOM_MAX_SCALE constraint results in an insufficient level of zoom for large ERDs with many relationships.

Zoom scale appears to increment by 0.1 in the preview window. I think increasing the constant from 1.5 to 2.0 would suffice.

current mermaid library setting: integrated library (v10.3.0)

VS Code Version: 1.85.1

export const ZOOM_MAX_SCALE = 1.5;

@Lockszmith-GH
Copy link

Still an issue.
Why have a maximum?
I have a large diagram, I can zoom as close as I need in mermaid.live, but 1.5 is too small for specific zoom ins, and 2.0 wouldn't cut it either.

If safety is the issue, I'm all for making it a reasonable default, but allow it to be changed in the config.

I know I'll need at least 4.0 as my max on this particular project I'm working on.

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