mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-17 14:29:48 +02:00
Update docs
This commit is contained in:
@@ -786,22 +786,6 @@ classDiagram
|
|||||||
style Mineral fill:#bbf,stroke:#f66,stroke-width:2px,color:#fff,stroke-dasharray: 5 5
|
style Mineral fill:#bbf,stroke:#f66,stroke-width:2px,color:#fff,stroke-dasharray: 5 5
|
||||||
```
|
```
|
||||||
|
|
||||||
```mermaid-example
|
|
||||||
classDiagram
|
|
||||||
class Animal
|
|
||||||
class Mineral
|
|
||||||
style Animal fill:#f9f,stroke:#333,stroke-width:4px
|
|
||||||
style Mineral fill:#bbf,stroke:#f66,stroke-width:2px,color:#fff,stroke-dasharray: 5 5
|
|
||||||
```
|
|
||||||
|
|
||||||
```mermaid
|
|
||||||
classDiagram
|
|
||||||
class Animal
|
|
||||||
class Mineral
|
|
||||||
style Animal fill:#f9f,stroke:#333,stroke-width:4px
|
|
||||||
style Mineral fill:#bbf,stroke:#f66,stroke-width:2px,color:#fff,stroke-dasharray: 5 5
|
|
||||||
```
|
|
||||||
|
|
||||||
#### Classes
|
#### Classes
|
||||||
|
|
||||||
More convenient than defining the style every time is to define a class of styles and attach this class to the nodes that
|
More convenient than defining the style every time is to define a class of styles and attach this class to the nodes that
|
||||||
|
Reference in New Issue
Block a user