mermaid/cypress/platform/current.html

42 lines
976 B
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"
/>
<style>
body {background: black}
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>
<div style="display: flex;">
<div class="mermaid">graph TD
A ==> B
A --> C
A -.-> D
</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;}',
2019-11-27 20:15:21 +01:00
logLevel: 3,
flowchart: { curve: 'linear', "htmlLabels": false },
2019-11-27 20:15:21 +01:00
gantt: { axisFormat: '%m/%d/%Y' },
sequence: { actorMargin: 50 },
// sequenceDiagram: { actorMargin: 300 } // deprecated
});
</script>
</script>
</body>
</html>