Class01 <|-- AveryLongClass: Cool <<interface>> Class01 Class09-->C2: Where am i?
Class09 --|> Class07 Class07: equals() Class07: Object[] elementData Class01: size() Class01: int chimp Class01: int gorilla class Class10 { <<service>> int id size() }
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
classDiagram
Class01 <|-- AveryLongClass: Cool <<interface>> Class01 Class09-->C2: Where am i?
Class09 --|> Class07 Class07: equals() Class07: Object[] elementData Class01: size() Class01: int chimp Class01: int gorilla class Class10 { <<service>> int id size() }
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
1 2 3 4 5 6 7 8 9
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
9.流程图样式更改
style id fill:填充颜色,stroke:边框颜色,stroke-width:边框厚度,fill-opacity:透明度
1 2 3 4 5
graph LR a--步骤-->b & c style a fill:#f92,stroke:#332,stroke-width:4px,fill-opacity:0.5 %% style id fill:填充颜色,stroke:边框颜色,stroke-width:边框厚度,fill-opacity:透明度 style b fill:#ccf,stroke:#f66,stroke-width:2px,stroke-dasharray: 10,5
1 2 3 4 5 6
graph LR a--步骤-->b & c style a fill:#f92,stroke:#332,stroke-width:4px,fill-opacity:0.5 %% style id fill:填充颜色,stroke:边框颜色,stroke-width:边框厚度,fill-opacity:透明度 style b fill:#ccf,stroke:#f66,stroke-width:2px,stroke-dasharray: 10,5