mermaid/cypress/platform/current.html

62 lines
1.6 KiB
HTML
Raw Normal View History

2019-11-27 20:15:21 +01:00
<html>
<head>
<link
href="https://fonts.googleapis.com/css?family=Montserrat&display=swap"
rel="stylesheet"
/>
2020-02-16 15:39:52 +01:00
<link href="https://fonts.googleapis.com/css?family=Noto+Sans+SC&display=swap" rel="stylesheet">
<style>
2020-02-16 15:39:52 +01:00
body {
background: white;
font-family: 'Arial';
2020-02-16 15:39:52 +01:00
}
h1 { color: white;}
.arrowheadPath {fill: red;}
2019-11-27 20:15:21 +01:00
.edgePath .path {stroke: red;}
</style>
2019-11-27 20:15:21 +01:00
</head>
<body>
<h1>info below</h1>
2020-03-14 08:24:45 +01:00
<div style="display: flex;flex-direction:column;width: 100%; height: 100%">
<div class="mermaid2" style="width: 100%; height: 100%;display: none;">
2020-03-04 20:35:59 +01:00
flowchart LR
A --> B & C & D
subgraph s1
B
C
end
subgraph s2
D
end
C --> D
C --> D
C --> D
</div>
2020-03-11 20:25:55 +01:00
<div class="mermaid" style="width: 100%; height: 100%">
flowchart LR
2020-03-14 08:24:45 +01:00
G-->H
G-->H
subgraph id1 [Test]
H
2020-03-11 17:36:30 +01:00
end
</div>
</div>
<script src="./mermaid.js"></script>
2019-11-27 20:15:21 +01:00
<script>
mermaid.initialize({
// theme: 'dark',
2019-11-27 20:15:21 +01:00
// arrowMarkerAbsolute: true,
// themeCSS: '.edgePath .path {stroke: red;} .arrowheadPath {fill: red;}',
logLevel: 0,
flowchart: { curve: 'linear', "htmlLabels": false },
2019-12-11 21:12:48 +01:00
// gantt: { axisFormat: '%m/%d/%Y' },
sequence: { actorMargin: 50, showSequenceNumbers: true },
2019-11-27 20:15:21 +01:00
// sequenceDiagram: { actorMargin: 300 } // deprecated
fontFamily: '"arial", sans-serif'
2019-11-27 20:15:21 +01:00
});
</script>
</script>
</body>
</html>