Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

rendering larger diagrams #95

Open
joprice opened this issue Aug 24, 2021 · 2 comments
Open

rendering larger diagrams #95

joprice opened this issue Aug 24, 2021 · 2 comments

Comments

@joprice
Copy link

joprice commented Aug 24, 2021

When a diagram is very large, it becomes hard to read the text on smaller screens. Could there be a feature allowing rendering of larger diagrams, perhaps rendering to svg and providing a link to the file?

@joprice
Copy link
Author

joprice commented Aug 24, 2021

One idea is that the cli https://github.com/mermaid-js/mermaid-cli could be used to render an svg at build time, and then add an svg link with target="_blank'.

@tg44
Copy link
Member

tg44 commented Aug 24, 2021

Actually, your browser creates an svg when you open up the site.
So we just need to write some minimal javascript to make it downloadable I think.

image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants