You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use the codes in bottom to create graph TD and gantt. When I input "Mermaid", it is different from "mermaid".
In "Mermaid", the background of chart turns to the background of Editor, there will be a copy/paste icon on the right-top; In "mermaid", the background is what in Preview, no icon any more.
Moreover, the size change a lot for graph TD. In gantt, it changes a little but neigher of them are satisfactory, because of the font size, and the margin height is too much as three times of the height of chart.
Following is the codes I used:
graphTDA[Christmas]-->|Get money|B(Go shopping)B-->C{Let me think}C-->|One|D[Laptop]C-->|Two|E[iPhone]C-->|Three|F[fa:fa-car Car]
gantttitleA GANTT DiagramdateFormatYYYY-MM-DDsectionA section
Completed task: done, des1, 2014-01-06, 2014-01-08
Active task: active, des2, 2014-01-09, 3d
Future task: des3, after des2, 5d
Future task2: des4, after des3, 5d
sectionCritical tasks
Completed task in the critical line: crit, done, 2014-01-06, 24h
Implement parser and jison: crit, done, after des1, 2d
Create tests for parser: crit, active, 3d
Future task in critical line: crit, 5d
Create tests for renderer: 2d
Add to mermaid: 1d
sectionDocumentation
Describe gantt syntax: active, a1, after des1, 3d
Add gantt diagram to demo page: after a1, 20h
Add another diagram to demo page: doc1, after a1, 48h
sectionLast section
Describe gantt syntax: after doc1, 3d
Add gantt diagram to demo page: 20h
Add another diagram to demo page: 48h
Expected behavior
Steps to reproduce
Environment
Version :0.11.8
OS Version and name :Windows10 home 64bit 1803
The text was updated successfully, but these errors were encountered:
As far as I'm aware the strange sizes of rendered diagrams was solved in a recent build (0.15.0?), so I'm closing this issue (for now).
If you still experience this issue, then please comment here with an exact copy of the diagram text you put in and an image of how it was rendered. Then I'll reopen this issue.
Current behavior
I use the codes in bottom to create graph TD and gantt. When I input "
Mermaid", it is different from "
mermaid".In "
Mermaid", the background of chart turns to the background of Editor, there will be a copy/paste icon on the right-top; In "
mermaid", the background is what in Preview, no icon any more.Moreover, the size change a lot for graph TD. In gantt, it changes a little but neigher of them are satisfactory, because of the font size, and the margin height is too much as three times of the height of chart.
Following is the codes I used:
Expected behavior
Steps to reproduce
Environment
The text was updated successfully, but these errors were encountered: