jakob1111 / dokuwiki-plugin-flowcharts

Add flowcharts and diagrams to Dokuwiki with an incredibly simple syntax
GNU General Public License v2.0
7 stars 8 forks source link

Styling line curves doesn't work #30

Open Ragos81 opened 1 year ago

Ragos81 commented 1 year ago

The code to change the line style (described here) does not work in dokuwiki.

When I try the below code in the mermaid live editor, it behaves as expected

%%{ init: { 'flowchart': { 'curve': 'stepAfter' } } }%%

graph TD
    A[Christmas] -->|Get money| B(Go shopping)
    B --> C{Let me think}
    C -->|One| D[Laptop]
    C -->|Two| E[iPhone]
    C -->|Three| F[fa:fa-car Car]

But in dokuwiki the lines do not change when I try it like that

<flow>
%%{ init: { 'flowchart': { 'curve': 'stepAfter' } } }%%

graph TD
    A[Christmas] -->|Get money| B(Go shopping)
    B --> C{Let me think}
    C -->|One| D[Laptop]
    C -->|Two| E[iPhone]
    C -->|Three| F[fa:fa-car Car]
</flow>

Is there any way to change that?