2020-08-16 08:45:44 +02:00
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<link
|
|
|
|
href="https://fonts.googleapis.com/css?family=Montserrat&display=swap"
|
|
|
|
rel="stylesheet"
|
|
|
|
/>
|
|
|
|
<link href="https://unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css" rel="stylesheet">
|
|
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
|
|
|
|
<link href="https://fonts.googleapis.com/css?family=Noto+Sans+SC&display=swap" rel="stylesheet">
|
|
|
|
<style>
|
|
|
|
body {
|
|
|
|
/* background: rgb(221, 208, 208); */
|
|
|
|
/* background:#333; */
|
|
|
|
font-family: 'Arial';
|
|
|
|
}
|
|
|
|
h1 { color: grey;}
|
|
|
|
.mermaid2 {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<h1>info below</h1>
|
|
|
|
<div class="flex">
|
2020-10-15 17:37:16 +02:00
|
|
|
<div class="mermaid" style="width: 50%; height: 400px;">
|
|
|
|
graph TD
|
|
|
|
A[Christmas] -->|Get money| B(Go shopping)
|
|
|
|
subgraph T ["Test"]
|
|
|
|
A
|
|
|
|
B
|
2020-10-07 20:16:36 +02:00
|
|
|
end
|
2020-10-15 17:37:16 +02:00
|
|
|
classDef Test fill:#F84E68,stroke:#333,color:white;
|
|
|
|
class A,T Test
|
|
|
|
classDef TestSub fill:green;
|
|
|
|
class T TestSub
|
|
|
|
linkStyle 0 color:orange, stroke: orange;
|
2020-09-16 20:09:02 +02:00
|
|
|
</div>
|
2020-10-07 20:43:52 +02:00
|
|
|
<div class="mermaid" style="width: 50%; height: 400px;">
|
2020-10-15 17:37:16 +02:00
|
|
|
flowchart TD
|
|
|
|
A[Christmas] -->|Get money| B(Go shopping)
|
|
|
|
subgraph T ["Test"]
|
|
|
|
A
|
|
|
|
B
|
|
|
|
end
|
|
|
|
classDef Test fill:#F84E68,stroke:#333,color:white;
|
|
|
|
class A,T Test
|
|
|
|
classDef TestSub fill:green;
|
|
|
|
class T TestSub
|
|
|
|
linkStyle 0 color:orange, stroke: orange;
|
2020-08-16 21:49:36 +02:00
|
|
|
</div>
|
2020-10-15 17:37:16 +02:00
|
|
|
<div class="mermaid2" style="width: 50%; height: 20%;">
|
2020-10-07 20:16:36 +02:00
|
|
|
flowchart TB
|
|
|
|
subgraph A
|
|
|
|
a -->b
|
|
|
|
end
|
|
|
|
subgraph B
|
|
|
|
b
|
|
|
|
end
|
2020-08-16 21:49:36 +02:00
|
|
|
</div>
|
|
|
|
<div class="mermaid2" style="width: 50%; height: 20%;">
|
2020-08-16 13:01:45 +02:00
|
|
|
%%{init: {"fontFamily": "arial2"}}%%
|
|
|
|
graph TD
|
|
|
|
A[Christmas]
|
|
|
|
</div>
|
|
|
|
<div class="mermaid2" style="width: 50%; height: 20%;">
|
2020-08-16 08:45:44 +02:00
|
|
|
flowchart TD
|
|
|
|
L1 --- L2
|
|
|
|
L2 --- C
|
|
|
|
M1 ---> C
|
|
|
|
R1 .-> R2
|
|
|
|
R2 <.-> C
|
|
|
|
C -->|Label 1| E1
|
|
|
|
C <-- Label 2 ---> E2
|
|
|
|
C ----> E3
|
|
|
|
C <-...-> E4
|
|
|
|
C ======> E5
|
|
|
|
</div>
|
2020-08-16 13:01:45 +02:00
|
|
|
<div class="mermaid2" style="width: 50%; height: 20%;">
|
2020-08-16 08:45:44 +02:00
|
|
|
graph TD
|
|
|
|
L1 --- L2
|
|
|
|
L2 --- C
|
|
|
|
M1 ---> C
|
|
|
|
R1 .-> R2
|
|
|
|
R2 <.-> C
|
|
|
|
C -->|Label 1| E1
|
|
|
|
C -- Label 2 ---> E2
|
|
|
|
C ----> E3
|
|
|
|
C -----> E4
|
|
|
|
C ======> E5
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<script src="./mermaid.js"></script>
|
|
|
|
<script>
|
|
|
|
mermaid.parseError = function (err, hash) {
|
|
|
|
// console.error('Mermaid error: ', err);
|
|
|
|
};
|
|
|
|
mermaid.initialize({
|
|
|
|
// theme: 'forest',
|
|
|
|
// themeVariables:{primaryColor: '#ff0000'},
|
|
|
|
// arrowMarkerAbsolute: true,
|
|
|
|
// themeCSS: '.edgePath .path {stroke: red;} .arrowheadPath {fill: red;}',
|
|
|
|
logLevel: 0,
|
2020-08-23 20:02:51 +02:00
|
|
|
flowchart: { curve: 'cardinal', htmlLabels: true },
|
|
|
|
htmlLabels: true,
|
2020-08-16 08:45:44 +02:00
|
|
|
// gantt: { axisFormat: '%m/%d/%Y' },
|
2020-08-16 21:49:36 +02:00
|
|
|
sequence: { actorFontFamily: 'courier',actorMargin: 50, showSequenceNumbers: true },
|
2020-08-16 08:45:44 +02:00
|
|
|
// sequenceDiagram: { actorMargin: 300 } // deprecated
|
|
|
|
// fontFamily: '"arial", sans-serif',
|
2020-08-16 21:49:36 +02:00
|
|
|
fontFamily: 'courier',
|
2020-08-16 08:45:44 +02:00
|
|
|
curve: 'cardinal',
|
2020-08-23 20:02:51 +02:00
|
|
|
securityLevel: 'loose'
|
2020-08-16 08:45:44 +02:00
|
|
|
});
|
|
|
|
function callback(){alert('It worked');}
|
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html>
|