vscode-mermaid-editor icon indicating copy to clipboard operation
vscode-mermaid-editor copied to clipboard

The erDiagram gets to to wide and impossible to read

Open mrTorb opened this issue 1 year ago • 1 comments

Describe the bug The erDiagram gets to to wide really fast. Especially with many to many relationships with a junction table which seems to build to the side.

To Reproduce add tables until it gets to wide. also see https://github.com/mermaid-js/mermaid/issues/2807

Expected behavior at a certain width it has to break to a new row. It would be neat if I could set a maximum workspace width Another solution could be to allow for higher zoom ratio

Desktop (please complete the following information):

  • windows 10
  • vscode 1.79.2
  • v0.18.1

Additional context Add any other context about the problem here.

mrTorb avatar Jun 17 '23 14:06 mrTorb

Thank you for your report! I think this is caused by the old mermaid version. I published v0.19.1 with the latest mermaid.js. Could you try it?

tomoyukim avatar Aug 31 '23 13:08 tomoyukim