mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-15 21:39:40 +02:00
Update classDiagram.md
This commit is contained in:
@@ -786,11 +786,11 @@ It is possible to apply specific styles such as a thicker border or a different
|
|||||||
|
|
||||||
Then attaching that class to a specific node:
|
Then attaching that class to a specific node:
|
||||||
|
|
||||||
cssClass "nodeId1" styleClass;
|
cssClass "nodeId1" styleClass
|
||||||
|
|
||||||
It is also possible to attach a class to a list of nodes in one statement:
|
It is also possible to attach a class to a list of nodes in one statement:
|
||||||
|
|
||||||
cssClass "nodeId1,nodeId2" styleClass;
|
cssClass "nodeId1,nodeId2" styleClass
|
||||||
|
|
||||||
A shorter form of adding a class is to attach the classname to the node using the `:::` operator:
|
A shorter form of adding a class is to attach the classname to the node using the `:::` operator:
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user