mermaid
Version:
Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams and gantt charts.
42 lines (32 loc) • 744 B
HTML
<html>
<head>
<meta charset="UTF-8">
<script src="./dist/mermaid.js"></script>
<link rel="stylesheet" href="../../dist/mermaid.dark.css"/>
<script>
mermaid.initialize({
sequenceDiagram:{
mirrorActors:true,
height:35,
topPadding:125,
useMaxWidth:false
},
logLevel:1
});
</script>
<script>
function apa(){
console.log('CLICKED');
}
</script>
</head>
<body>
<h1>Autowrap</h1>
<div class="mermaid">
graph LR;
A[Start] --> B[End]
linkStyle default stroke:blue;
</div>
</body>
</html>