#993 Added mermaid documentation for class diagram-minor fixes

This commit is contained in:
Ashish Jain 2019-10-15 00:32:21 +02:00
parent 5949d01821
commit 1ae1313edd

View File

@ -16,16 +16,16 @@ Mermaid can render class diagrams.
Animal : +String gender
Animal: +isMammal()
Animal: +mate()
Duck{
class Duck{
+String beakColor
+swim()
+quack()
}
Fish{
class Fish{
-int sizeInFeet
-canEat()
}
Zebra{
class Zebra{
+bool is_wild
+run()
}
@ -304,10 +304,11 @@ class Color{
```mermaid
classDiagram
class Shape
<<interface>> Shape
Shape : noOfVertices
Shape : draw()
class Shape{
<<interface>>
noOfVertices
draw()
}
class Color{
<<enumeration>>
RED