- #pr/github/testproject/1 First node
- #pr/github/testproject/2a/1 Second node
- #pr/github/testproject/2b/1 Second alternate
- #pr/github/testproject/3/2a/2b End state
const {Project} = customJS;
new Project.Project2Flow(dv.current().source, dv.current().prtag, dv).run();
That emits mermaid JS that looks like this:
flowchart TD
id1[text]
id1 --> id2a[text]
id1 --> id2b[text]
id2a --> id3[text]
id2b --> id3[text]
... that renders as something that looks like this:
1
/ \
2a 2b
\ /
3
... except all of the identifiers are replaced by the text on each task.
This renders as