Closed finalspy closed 5 months ago
Please test with 24.4.11.
Hi there, I've just created a new empty diagram on https://app.diagrams.net (today it's 24.5.5).
Arrange > Insert > Advanced > Mermaid
Then pasted the sample from Mermaid documentation:
flowchart LR id1(Start)-->id2(Stop) style id1 fill:#f9f,stroke:#333,stroke-width:4px style id2 fill:#bbf,stroke:#f66,stroke-width:2px,color:#fff,stroke-dasharray: 5 5
Formatting is visible only when I insert as image but not when I insert as diagram. Would it be possible to have formatting in the diagram as well?
Can confirm this is still happening in 24.6.4 and in the website, I inserted a mermaidJS diagram with this init line (note the mention of a theme) and it's rendered in shades of gray (it works fine in GitLab and the vscode extension bierner.markdown-mermaid
, so I'm assuming it's correct)
%%{init: { 'logLevel': 'debug', 'theme': 'default', 'gitGraph': {'showBranches': true,'showCommitLabel': false}} }%%
Hi, I used the lasted version web V24.7.7 and doesn`t work properly ....
Exist two issues -- if would like to use colors into the nodes . .
if would like like format the text into the nodes
##################################### draw.io not accept Styles
################################### draw.io not format text into nodes .... example
Thanks !
Hey, I’m still experiencing this issue and would really appreciate it if this functionality could work as expected. Is there any plan to address it in the near future? Thanks so much!
Hi, experiencing the same. The charts when loaded on draw.io don't have colors. Is there a workaround for this? Thanks!
Preflight Checklist
Describe the bug
If I take simple examples from Mermaid documentation, and try to import them into drawIO they should be rendered with style.
For instance from Mermaid documentation :
Is not properly rendered in DrawIO, all style is lost ...
To Reproduce Steps to reproduce the behavior:
Expected behavior
I expect to see the diagram with the styles applied properly if present in the import.
Screenshots This screenshots shows the mermaid documentation for nodes styling.
This other screenshot shows the rendering inside draw.io
draw.io version (In the Help->About menu of the draw.io editor):
Desktop (please complete the following information):
I tested the problem in incognito/private mode with all browser extensions switched off, write "yes" below: