gt6796c / mermaid-tw5

Tiddly Wiki 5 plugin to support the mermaid library
MIT License
19 stars 10 forks source link

Arrowheads don't show up on sequence diagrams #6

Closed shaneleonard closed 7 years ago

shaneleonard commented 7 years ago

Making a test Tiddler with the following contents on https://gt6796c.github.io/:

<$mermaid text="
sequenceDiagram
    participant Alice
    participant Bob
    Alice->Alice: Select either f from Funs[X,Y] or k from K
    loop Attack
        Bob->Alice: x
        Alice->Bob: f(x) or F(k,x)
    end
">
</$mermaid>

Is rendered as follows:

screen shot 2017-01-23 at 8 25 02 pm

Note that the arrowheads aren't rendered.

This was tested on both Chrome and Safari, with the same results.

shaneleonard commented 7 years ago

My mistake, the arrowheads weren't showing up because the syntax requires an additional ">" symbol in the link. Eg "Alice->>Bob" not "Alice->Bob".