Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arrange | Import | Mermaid... does not import correctly on the desktop version for Windows (v26.0.4). #1965

Open
bradlitterell opened this issue Jan 19, 2025 · 0 comments

Comments

@bradlitterell
Copy link

Preflight Checklist

  • [ x] I agree to follow the Code of Conduct that this project adheres to.
  • [x ] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

You must agree to search and the code of conduct. You must fill in this entire template. If you delete part/all or miss parts out your issue will be closed.

Describe the bug
Arrange | Import | Mermaid... does not import correctly on the desktop version for Windows (v26.0.4). It works correctly on the website with version v26.0.6. There are no closed bugs in this issue tracker that seem relevant.

Precisely what happens (on the desktop version) for flowcharts is that text box borders disappear, and arrows are formatted as if the mermaid text read --o instead of -->. That is they end in circles rather than arrows.

I only used graph/flowchart types and did not try any other mermaid inputs.

To Reproduce
Steps to reproduce the behavior:

  1. Create a new drawing.
  2. Select the "Blank Drawing" template.
  3. Go to 'Arrange | Insert | Advanced | Mermaid...`
  4. Observe the application offers this example graph:
graph TD;
  A-->B;
  A-->C;
  B-->D;
  C-->D;
Loading
  1. verify the import type button at the bottom reads "Diagram" (the default).
  2. Click "Insert"

Expected behavior
The typical mermaid rendering with arrows and boxes having lined borders. Here is an expected rendering:

https://mermaid.live/edit#pako:eNo9js0OgjAQhF-FzBlJsYChJib-XD3pyfTS2CpES0ktiUh4d2uJ7Onb2ZnNDLgaqcBwt6KtovNhzZso2i4Wm91M-0A7T9N1HwgxtLJa1NKnh5_O4SqlFQfzKIV9cPBm9D7ROXPqmyuYs52KYU13r8Bu4vnyW9dK4dShFr6CntVWNBdj9D-iZO2MPU5dQ-VgARvwBqNFmVBKyoys0mWapaSI0YORMcYnPCFJOU1GaJnTPF-OX7zzSeA

Screenshots
see Mermaid.live link for expected
actual:

Image

draw.io version (In the Help->About menu of the draw.io editor):

  • draw.io version v26.0.4
  • specifically: draw.io-26.0.4-windows-no-installer.exe

Desktop (please complete the following information):

  • OS: Windows 11

Additional context

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

No branches or pull requests

1 participant