add borders example

This commit is contained in:
Michael Maier
2021-11-28 12:24:24 +01:00
parent 86810e04bd
commit 5fff8403a8

View File

@@ -13,12 +13,23 @@
</style>
</head>
<body>
<h2>Sample</h2>
<h2>Data Flow Diagram Example</h2>
<div class="mermaid">
flowchart LR
DataStore[|borders:tb|Database] -->|input| Process((System)) -->|output| Entity[Customer];
</div>
<h2>Borders Example</h2>
<div class="mermaid">
flowchart TD
allSides[ stroke all sides ];
allSides2[|borders:ltrb| stroke all sides ];
rbSides[|borders:rb| stroke right and bottom sides ];
ltSides[|borders:lt| stroke left and top sides ];
lrSides[|borders:lr| stroke left and right sides ];
noSide[|borders:no| stroke no side ];
</div>
<script src="./mermaid.js"></script>
<script>
mermaid.initialize({