Mermaid-Chart/vscode-mermaid-preview

Incorrect render when using "activate" command

Closed this issue · 3 comments

Expected behaviour

sequenceDiagram
    participant A as A
    participant B as B
    participant C as C

    A->>B: Call
    activate B
        B->>C: Call
        activate C
        C->>B: Done
        deactivate C
    deactivate B
    B->>A: Done

    
Loading

Actual behaviour

image

Also if i remove the "as" it renders incorrectly

image

if i remove the activateand deactivate commands it looks correct.
image

I'm not able to replicate the described behaviour. Here is my result when embedding the diagram in a markdown file:

Screenshot 2019-06-19 at 14 21 42

Do you get any errors in the console?

Could it be OS related? i'm running windows.
output>extensions does not give any errorsm if this is what you meant with the console.

Might be. I have not tested on Windows as I do not have access to such a machine.

Have you tried to reinstall the extension? It has quite large dependencies and that might be a problem.