2022-04-08 21:57:42 +02:00
|
|
|
<!DOCTYPE html>
|
2022-10-02 22:51:25 +02:00
|
|
|
<html lang="en">
|
2022-09-04 21:18:36 +02:00
|
|
|
<head>
|
|
|
|
<meta charset="utf-8" />
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
|
|
<title>Mermaid Quick Test Page</title>
|
|
|
|
<link rel="icon" type="image/png" href="data:image/png;base64,iVBORw0KGgo=" />
|
|
|
|
<style>
|
|
|
|
div.mermaid {
|
|
|
|
/* font-family: 'trebuchet ms', verdana, arial; */
|
|
|
|
font-family: 'Courier New', Courier, monospace !important;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</head>
|
2022-04-08 21:57:42 +02:00
|
|
|
|
2022-09-04 21:18:36 +02:00
|
|
|
<body>
|
2022-10-02 22:51:25 +02:00
|
|
|
<h1>Journey diagram demo</h1>
|
2022-09-04 21:18:36 +02:00
|
|
|
<pre class="mermaid">
|
2022-09-27 03:16:36 +02:00
|
|
|
journey
|
|
|
|
title My working day
|
|
|
|
accTitle: Very simple journey demo
|
|
|
|
accDescr: 2 main sections: work and home, each with just a few tasks
|
|
|
|
|
|
|
|
section Go to work
|
|
|
|
Make tea: 5: Me
|
|
|
|
Go upstairs: 3: Me
|
|
|
|
Do work: 1: Me, Cat
|
|
|
|
section Go home
|
|
|
|
Go downstairs: 5: Me
|
|
|
|
Sit down: 3: Me
|
2022-09-04 21:18:36 +02:00
|
|
|
</pre>
|
2022-04-08 21:57:42 +02:00
|
|
|
|
2022-09-04 21:18:36 +02:00
|
|
|
<script src="./mermaid.js"></script>
|
|
|
|
<script>
|
|
|
|
mermaid.initialize({
|
|
|
|
theme: 'forest',
|
|
|
|
logLevel: 3,
|
|
|
|
securityLevel: 'loose',
|
|
|
|
flowchart: { curve: 'basis' },
|
|
|
|
gantt: { axisFormat: '%m/%d/%Y' },
|
|
|
|
sequence: { actorMargin: 50 },
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html>
|