question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Actor parsing fails in mermaid sequence diagram

See original GitHub issue

Preflight Checklist

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

Describe the bug

It’s error message on https://app.diagrams.net version 16.2.6.

Error
Parse error on line 2: ... actor user as 😊 participant sit -----------------------^ Expecting 'SOLID_OPEN_ARROW', 'DOTTED_OPEN_ARROW', 'SOLID_ARROW', 'DOTTED_ARROW', 'SOLID_CROSS', 'DOTTED_CROSS', 'SOLID_POINT', 'DOTTED_POINT', got 'NEWLINE'

To Reproduce

The phenomenon reproduction code is shown below.

sequenceDiagram
    actor user as 😊
    participant site as 👷
    user ->>+ site : hello
    site -->>- user : see you

Expected behavior

It may need to be displayed well, such as https://mermaid.live/ .

image

Screenshots

image

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

  • draw.io version 16.2.6

Desktop (please complete the following information):

  • OS: Windows 11
  • Browser : chrome
  • Version 97.0.4692.71 64bit

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
athenorcommented, Jun 23, 2022

Aha! Sorry if I sounded snarky, I was typing in a hurry before lunch. 😃 Good to hear!

1reaction
m-mohamedincommented, Jun 23, 2022

Yes, we’ve already updated mermaid

Read more comments on GitHub >

github_iconTop Results From Across the Web

Interactive Sequence diagram using mermaid.js producing ...
However when I am trying to animate it(in the observable notebook) I am encountering parse errors. mermaid`sequenceDiagram autonumber actor S as Student ...
Read more >
Interactive Sequence diagram using mermaid.js producing ...
However when I am trying to animate it(in the observable notebook) I am encountering parse errors. mermaid`sequenceDiagram autonumber actor ...
Read more >
mermaidAPI - UNPKG
The object containing configurations specific for sequence diagrams ... If parsing fails the parseError callback is called and an error is thrown and ......
Read more >
Mermaid Cheat Sheet @ https://jojozhuang.github.io
A Sequence diagram is an interaction diagram that shows how processes operate with one another and in what order. 2.1 Participants. The participants...
Read more >
Mermaid is older version? - Bug graveyard - Obsidian Forum
sequenceDiagram participant Alice participant Bob Alice->>John: Hello John, how are you? loop Healthcheck ... Error parsing Mermaid diagram!
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found