I have a question. Is it possible to set the Mermaid Graphs to a specific size?
One screenshot shows a graph once the note has been opened (little visible).
The second screenshot shows the graph in horizontal mode and when zoomed out. The font size is of course very small.
Do you have any ideas how to make this look better?
In the latest windows version of joplin (1.0.197), i can’t zoom in/out of mermaid graphs and i can’t scroll to the right.
So this is how it looks like:
However Mermaid charts are SVG files which seem to contain their own stylesheet so forcing a font size may have an impact on scaling and / or break other types of chart.
I have no idea how to even start trying to control the box size!!!
@laurent@PackElend Do we really need to add horizontal scrolling to the mermaid graph as the viewer pane is scrollable and there is no difficulty in viewing the complete graph.
If anyone is looking for it:
On v1.5.7 mermaid chart its auto resized to fit render pane.
If chart is big its rendering becomes too small. You can add code below to your note to make it bigger
Actually i found it by searching for something else - when one makes very tall graph mermaid creates unnecessary big top and bottom margins. There's issue for it: