(parse content)Parse a mermaid flowchart
ARGUMENTS:
RETURN: A structure with nodes and routes between nodes
{:start-at "A"
:nodes {"A" {:node-text "Desc"
:routes ({:route-destination "B"
:route-text "To"})}
"B" {:node-text "Desc2"
:routes ()}}
EXAMPLE:
(parse "A[Desc]-->|To|B[Desc2]")
THROWS: ExceptionInfo if there was a parse error.
Parse a mermaid flowchart
ARGUMENTS:
- content: The chart
RETURN:
A structure with nodes and routes between nodes
```
{:start-at "A"
:nodes {"A" {:node-text "Desc"
:routes ({:route-destination "B"
:route-text "To"})}
"B" {:node-text "Desc2"
:routes ()}}
```
EXAMPLE:
```
(parse "A[Desc]-->|To|B[Desc2]")
```
THROWS:
ExceptionInfo if there was a parse error.cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |