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

Class Diagram scales to fit. #1058

Closed
Baudin999 opened this issue Nov 11, 2019 · 0 comments · Fixed by #1225
Closed

Class Diagram scales to fit. #1058

Baudin999 opened this issue Nov 11, 2019 · 0 comments · Fixed by #1225
Assignees
Labels
Area: Development Contributor needed Graph: Class Retained Nonperishable Status: Approved Is ready to be worked on Type: Bug / Error Something isn't working or is incorrect

Comments

@Baudin999
Copy link

Baudin999 commented Nov 11, 2019

Thank you for the wonderful product and adding the class diagram feature!

I have a question on the svg size on the page. I am looking for a way to size the svg to the actual size of the diagram I'm rendering. I am currently losing parts of the diagram and it blows up really big on my page.

Please let me know if there is more information I could provide. I think it might be something I am doing wrong.

image

As you can see, the left most connector drops off the image. even in the live editor:

live editor

Also, I'd like the width of the nodes to remain the same and not zoom out, blow up, when I use a bigger monitor. In other words, the ratio between the width, height and the viewBox is not correct. Is there a way to make the width and height the same value as the size of the viewbox?

for example:

<svg width="730" height="453" viewBox="0 0 730 453">
</svg>

instead of:

<svg width="100%" height="100%" viewBox="0 0 730 453">
</svg>
@Baudin999 Baudin999 added Contributor needed Type: Other Not an enhancement or a bug labels Nov 11, 2019
@github-actions github-actions bot added the Status: Triage Needs to be verified, categorized, etc label Nov 11, 2019
@IOrlandoni IOrlandoni added Area: Development Graph: Class Contributor needed Retained Nonperishable Status: Approved Is ready to be worked on Type: Bug / Error Something isn't working or is incorrect and removed Status: Triage Needs to be verified, categorized, etc Type: Other Not an enhancement or a bug labels Nov 11, 2019
@jgreywolf jgreywolf self-assigned this Jan 27, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Jan 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Area: Development Contributor needed Graph: Class Retained Nonperishable Status: Approved Is ready to be worked on Type: Bug / Error Something isn't working or is incorrect
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants