Make diamond shape a little bit bigger

This commit is contained in:
Tyler Long
2018-03-21 22:06:44 +08:00
parent 8b1698b17d
commit a5627f97ff
2 changed files with 7 additions and 9 deletions

14
dist/index.html vendored
View File

@@ -8,14 +8,12 @@
</head>
<body>
<div class="mermaid">
graph TD
A-->B
A-->C
A-->Z
A-->Y
B-->Y
Z-->Y
Y-->A
graph TD
A[Christmas] -->|Get money| B(Go shopping)
B --> C{Let me thinksssss<br/>ssssssssssssssssssssss<br/>sssssssssssssssssssssssssss}
C -->|One| D[Laptop]
C -->|Two| E[iPhone]
C -->|Three| F[Car]
</div>
<div class="mermaid">
graph LR

View File

@@ -293,7 +293,7 @@ export const draw = function (text, id) {
render.shapes().question = function (parent, bbox, node) {
const w = bbox.width
const h = bbox.height
const s = (w + h) * 0.8
const s = (w + h) * 0.9
const points = [
{ x: s / 2, y: 0 },
{ x: s, y: -s / 2 },