准备从0开始学习做个App
stateDiagram-v2
[*] --> Still
Still --> [*]
Still --> Moving
Moving --> Still
Moving --> Crash
Crash -->abc
abc-->[*]
Crash --> [*]
classDiagram
Animal <|-- Duck
Animal <|-- Fish
Animal <|-- Zebra
Animal <|-- Dog
Animal : +int age
Animal : +String gender
Animal: +isMammal()
Animal: +mate()
class Duck{
+String beakColor
+swim()
+quack()
}
class Fish{
-int sizeInFeet
-canEat()
}
class Zebra{
+bool is_wild
+run()
}
class Dog{
+bool is_wild
+run()
+wangwang()
}
void main()
{
print("hello world");
}
graph TD
Start --> Stop
| title | |
|---|---|
| 1 | 2 |
| 5 | 8 |
| 3 | 4 |
pie title 这个很好玩
"猫猫" : 386
"狗狗" : 85
"蜀黍" : 150
erDiagram
CUSTOMER ||--o{ ORDER : places
ORDER ||--|{ LINE-ITEM : contains
CUSTOMER }|..|{ DELIVERY-ADDRESS : uses
journey
title My working day
section Go to work
Make tea: 5: Me
Go upstairs: 3: Me
Do work: 1: Me, Cat
section Go home
Go downstairs: 5: Me
Sit down: 5: Me
这个东西 很好玩
你也来试试
erDiagram
CUSTOMER ||--o{ ORDER : places
ORDER ||--|{ LINE-ITEM : contains
CUSTOMER }|..|{ DELIVERY-ADDRESS : uses
我是引用
这个东西还挺好玩
今天要接孩子 自己去。