Spaces:
Running
Running
updated
Browse files- index.html +26 -14
index.html
CHANGED
@@ -54,21 +54,33 @@ sequenceDiagram
|
|
54 |
Bob-->>John: Jolly good!
|
55 |
</div>
|
56 |
<div class="mermaid">
|
|
|
|
|
|
|
57 |
classDiagram
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
72 |
|
73 |
</div>
|
74 |
<div class="card">
|
|
|
54 |
Bob-->>John: Jolly good!
|
55 |
</div>
|
56 |
<div class="mermaid">
|
57 |
+
---
|
58 |
+
title: Animal example classDiagram
|
59 |
+
---
|
60 |
classDiagram
|
61 |
+
note "From Duck till Zebra"
|
62 |
+
Animal <|-- Duck
|
63 |
+
note for Duck "can fly\ncan swim\ncan dive\ncan help in debugging"
|
64 |
+
Animal <|-- Fish
|
65 |
+
Animal <|-- Zebra
|
66 |
+
Animal : +int age
|
67 |
+
Animal : +String gender
|
68 |
+
Animal: +isMammal()
|
69 |
+
Animal: +mate()
|
70 |
+
class Duck{
|
71 |
+
+String beakColor
|
72 |
+
+swim()
|
73 |
+
+quack()
|
74 |
+
}
|
75 |
+
class Fish{
|
76 |
+
-int sizeInFeet
|
77 |
+
-canEat()
|
78 |
+
}
|
79 |
+
class Zebra{
|
80 |
+
+bool is_wild
|
81 |
+
+run()
|
82 |
+
}
|
83 |
+
|
84 |
|
85 |
</div>
|
86 |
<div class="card">
|