Questions tagged [mermaid]

Mermaid is a markup language for generating diagrams and flowcharts.

Mermaid allows for generation of diagrams and flowcharts from text in a similar manner as markdown.

You can check its Usage, Flowchart syntax and Sequence diagram syntax.

273 questions
-1
votes
1 answer

Handling asynchronous data with mermaid-js in angular

So, I am working on a project where I need to get data from the DB asynchronously and then use that data to draw a sequence diagram using mermaid.js' markdown syntax. But the problem that I'm facing is that apparently the sequence diagram is…
-2
votes
1 answer

Replace double quotation to single quotation in R

I'm trying to use https://mermaid-js.github.io/mermaid/#/ to output some texts to a flowchart. This is the syntax I need to follow, which is a single quotation outside of a double quotation. For example, library(DiagrammeR) mermaid('graph TB \n…
-3
votes
0 answers

Methods for Programmatically Generating 'Attention Is All You Need' Diagrams

Is there a way to create nodes that overlaps with each other to show there there is a "stack" of its type like that in the "attention is all you need" paper (maybe using Mermaid) or any other code-based methods? An example: If this is not possible…
1 2 3
18
19