Joplin does use Mermaid syntax and I have used it successfully for small non-complicated directed graphs.
Here is an example.
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]
F --> B
HTH
1 Like