Skip to content

Commit 1f228db

Browse files
dariakpdurrannbbeeken
authored andcommitted
docs(NODE-5523): add component support matrix to readme (#3806)
Co-authored-by: Durran Jordan <durran@gmail.com> Co-authored-by: Neal Beeken <neal.beeken@mongodb.com>
1 parent 2fbb715 commit 1f228db

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

foo.mermaid

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
title: Animal example
3+
---
4+
classDiagram
5+
note "From Duck till Zebra"
6+
Animal <|-- Duck
7+
note for Duck "can fly\ncan swim\ncan dive\ncan help in debugging"
8+
Animal <|-- Fish
9+
Animal <|-- Zebra
10+
Animal : +int age
11+
Animal : +String gender
12+
Animal: +isMammal()
13+
Animal: +mate()
14+
class Duck{
15+
+String beakColor
16+
+swim()
17+
+quack()
18+
}
19+
class Fish{
20+
-int sizeInFeet
21+
-canEat()
22+
}
23+
class Zebra{
24+
+bool is_wild
25+
+run()
26+
}

0 commit comments

Comments
 (0)