mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-23 17:29:54 +02:00
#530 Add hexagon to flow docs
This commit is contained in:
@@ -112,6 +112,17 @@ graph LR
|
|||||||
id1{This is the text in the box}
|
id1{This is the text in the box}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### A hexagon node
|
||||||
|
|
||||||
|
```
|
||||||
|
graph LR
|
||||||
|
id1{{This is the text in the box}}
|
||||||
|
```
|
||||||
|
```mermaid
|
||||||
|
graph LR
|
||||||
|
id1{{This is the text in the box}}
|
||||||
|
```
|
||||||
|
|
||||||
### Trapezoid
|
### Trapezoid
|
||||||
|
|
||||||
```mermaid
|
```mermaid
|
||||||
@@ -350,7 +361,7 @@ Beginners tip, a full example using interactive links in a html context:
|
|||||||
click A callback "Tooltip"
|
click A callback "Tooltip"
|
||||||
click B "http://www.github.com" "This is a link"
|
click B "http://www.github.com" "This is a link"
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
var callback = function(){
|
var callback = function(){
|
||||||
alert('A callback was triggered');
|
alert('A callback was triggered');
|
||||||
@@ -364,7 +375,7 @@ Beginners tip, a full example using interactive links in a html context:
|
|||||||
},
|
},
|
||||||
securityLevel:'loose',
|
securityLevel:'loose',
|
||||||
};
|
};
|
||||||
|
|
||||||
mermaid.initialize(config);
|
mermaid.initialize(config);
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
Reference in New Issue
Block a user