-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.html
49 lines (47 loc) · 1.33 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Mermaid Quick Test Page</title>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mermaid/8.4.2/mermaid.js"></script>
<script type="text/javascript"
src="https://cdnjs.cloudflare.com/ajax/libs/mermaid/8.4.2/mermaid.core.js.map"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mermaid/8.4.2/mermaid.core.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
</head>
<body>
<div class="mermaid" id="graphDiv">
stateDiagram
[*] --> First
state First {
[*] --> second
second --> [*]
}
classDiagram
question --> Choice : 1:N
choices --> Question : 1:N
exam --> Question : 1:N
Exam : Integer sum
Exam : String configurationId
Exam : String examinee
Exam : String examDate
Exam : Integer correct
Exam : String issuer
Exam : ExamStatus status
Exam : Integer id
Choice : String body
Choice : boolean correct
Choice : boolean chosen
Choice : Integer id
Question : Integer id
Question : String body
Question : String code
</div>
<script>
mermaidAPI.initialize({
startOnLoad:true
});
</script>
</body>
</html>