mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-13 12:29:42 +02:00
Make diamond shape a little bit bigger
This commit is contained in:
14
dist/index.html
vendored
14
dist/index.html
vendored
@@ -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
|
||||
|
@@ -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 },
|
||||
|
Reference in New Issue
Block a user