mermaid/test/web.html

60 lines
1.3 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<style id="css">
/* This sets the color for "TK" nodes to a light blue green. */
g.type-TK > rect {
fill: #ccffd0;
}
text {
font-weight: 300;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serf;
font-size: 14px;
}
.node rect {
stroke: #999;
fill: #fff;
stroke-width: 1.5px;
}
.edgePath path {
stroke: #333;
stroke-width: 1.5px;
fill:#fff;
}
</style>
<script src="../dist/mermaid.full.js"></script>
</head>
<body>
<div class="mermaid">
graph TD;A(Astrid)-->B[Irene];
A-->C[Christer];
B-->D[Micke];
B-->E[Maria];
E-->F[Hjalte];
E-->G[Embla];
E-->J[Vidar];
E-->H[Bjarke];
E-->I[Ingvild];
</div>
<div class="mermaid">
graph TD;
eag[Läsa bok 2]-->b;
b{Fundera}---|Klocka|c(Vidar);
b-->|Lego text|d(Bjarke går);
e(orphan);
style eag fill:#6ff,stroke:#f66,stroke-width:2px,stroke-dasharray: 5, 5;
style #2 stroke:#0f0;
</div>
<div class="mermaid">
graph LR;
A---|This is the 123 s -text|B;
</div>
</body>
</html>