mermaid/test/web.html

56 lines
1.2 KiB
HTML
Raw Normal View History

2014-11-13 19:53:31 +01:00
<!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;
2014-11-13 19:53:31 +01:00
}
text {
font-weight: 300;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serf;
font-size: 14px;
}
.node rect {
stroke: #999;
fill: #fff;
2014-11-13 19:53:31 +01:00
stroke-width: 1.5px;
}
.edgePath path {
stroke: #333;
stroke-width: 1.5px;
fill:#fff;
}
</style>
</head>
<body>
<div class="mermaid">
2014-11-16 09:02:03 +01:00
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];
2014-11-13 19:53:31 +01:00
</div>
<div class="mermaid">
graph TD;
2014-11-16 09:02:03 +01:00
eag-book[Läsa bok]==>b;
b{Fundera}==>|Klocka|c(Vidar);
b==>|Lego text|d(Bjarke går);
e(orphan);
2014-11-16 09:02:03 +01:00
style eag-book fill:#6ff,stroke:#f66,stroke-width:2px,stroke-dasharray: 5, 5;
style #2 stroke:#0f0;
2014-11-13 19:53:31 +01:00
</div>
<script src="../dist/mermaid.full.js"></script>
</body>
</html>