mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-28 07:03:17 +08:00
#3192 Adding docs and visual test
This commit is contained in:
parent
3a71618a49
commit
b6cac3a431
@ -670,6 +670,17 @@ title: Simple flowchart
|
|||||||
---
|
---
|
||||||
flowchart TD
|
flowchart TD
|
||||||
A --> B
|
A --> B
|
||||||
|
`,
|
||||||
|
{ titleTopMargin: 0 }
|
||||||
|
);
|
||||||
|
});
|
||||||
|
it('3192: It should be possieble to render flowcharts with invisisble edges', () => {
|
||||||
|
imgSnapshotTest(
|
||||||
|
`---
|
||||||
|
title: Simple flowchart with invisisble edges
|
||||||
|
---
|
||||||
|
flowchart TD
|
||||||
|
A ~~~ B
|
||||||
`,
|
`,
|
||||||
{ titleTopMargin: 0 }
|
{ titleTopMargin: 0 }
|
||||||
);
|
);
|
||||||
|
@ -245,6 +245,15 @@ flowchart LR
|
|||||||
A == text ==> B
|
A == text ==> B
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### An invisisble link
|
||||||
|
|
||||||
|
This can be a usefull tool in some instances where you want to alter the default positining of a node.
|
||||||
|
|
||||||
|
```mermaid-example
|
||||||
|
flowchart LR
|
||||||
|
A ~~~ B
|
||||||
|
```
|
||||||
|
|
||||||
### Chaining of links
|
### Chaining of links
|
||||||
|
|
||||||
It is possible declare many links in the same line as per below:
|
It is possible declare many links in the same line as per below:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user