Closed jeppevinkel closed 7 months ago
Seems this error shows up on first attempt and then the above error on consecutive attempts.
Reproduced on XWiki cloud 14.4.7 Diagram Pro 1.17.3
The error still reproduces on Diagram Pro version 1.19.3, while trying to add the mermaid syntax:
graph TD A(Coffee machine <br>not working) --> B{Machine has power?} B -->|No| H(Plug in and turn on) B -->|Yes| C{Out of beans or water?} -->|Yes| G(Refill beans and water) C -->|No| D{Filter warning?} -->|Yes| I(Replace or clean filter) D -->|No| F(Send for repair)
from https://www.drawio.com/blog/mermaid-diagrams > flowchart type
Note that mermaid import was added in drawio version 12.7.0 and it never worked before in the Diagram Application.
Steps to reproduce:
Arrange->Insert->Advanced->Mermaid
After those steps it shows an error saying Mermaid isn't defined.![image](https://user-images.githubusercontent.com/1492684/193559371-f5411ebb-a7ae-440b-9811-e4f616ed4e46.png)
Expected results: A diagram generated from the mermaid input.