#847 fix for case texts with multiple br tags, explanation in usage doc on how to avoid labels out of bounds.

This commit is contained in:
knsv
2019-07-16 16:05:22 -07:00
parent 976d16b0db
commit 8e27318eda
3 changed files with 16 additions and 4 deletions

8
dist/index.html vendored
View File

@@ -5,6 +5,12 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Mermaid Quick Test Page</title>
<link rel="icon" type="image/png" href="data:image/png;base64,iVBORw0KGgo=">
<style>
div.mermaid {
/* font-family: 'trebuchet ms', verdana, arial; */
font-family: 'Courier New', Courier, monospace !important;
}
</style>
</head>
<body>
<div class="mermaid">
@@ -127,7 +133,7 @@
<div class="mermaid">
graph TD
A[Christmas] -->|Get money| B(Go shopping)
B --> C{Let me thinksssss<br/>ssssssssssssssssssssss<br/>sssssssssssssssssssssssssss}
B --> C{Let me thinksssssx<br/>sssssssssssssssssssuuu<br />tttsssssssssssssssssssssss}
C -->|One| D[Laptop]
C -->|Two| E[iPhone]
C -->|Three| F[Car]