info below
classDiagram direction TB class Student { -idCard : IdCard } class IdCard{ -id : int -name : string } class Bike{ -id : int -name : string } Student "1" --o "1" IdCard : carries Student "1" --o "1" Bike : rides
stateDiagram state CompositeState { YourState123456789012345123456789123456789012345123456789123456789012345123456789123456789012345123456789 --> MyState:a label }
sequenceDiagram %%{init: {'config': {'wrap': true }}}%% actor Alice as Extremely utterly long line of longness which had preivously overflown the actor box as it is much longer than what it should be actor Bob participant John as John2 participant Mandy Alice->>Bob: Hi Bob Bob->>Alice: Hi Alice Alice->>John: Hi John John->>Mandy: Hi Mandy Mandy ->>Joan: Hi Joan
%%{int: { "apa":"b", "theme":"forest"}}%% sequenceDiagram Alice->>Bob: Hi Bob Bob->>Alice: Hi Alice
sequenceDiagram %%{init: {'config': {'wrap': true }}}%% actor Alice actor Bob Alice->>Bob: Hi Bob Bob->>Alice: Hi Alice
%%{init: {'config': {'wrap': true }}}%% sequenceDiagram participant A as Extremely utterly long line of longness which had preivously overflown the actor box as it is much longer than what it should be A->>Bob: Hola Bob-->A: Pasten !
stateDiagram-v2 state CS { state ACS { YourState } }
stateDiagram-v2 [*] --> Active state Active { [*] --> NumLockOff NumLockOff --> NumLockOn : EvNumLockPressed NumLockOn --> NumLockOff : EvNumLockPressed -- [*] --> CapsLockOff CapsLockOff --> CapsLockOn : EvCapsLockPressed CapsLockOn --> CapsLockOff : EvCapsLockPressed } state SomethingElse { A --> B B --> A } Active --> SomethingElse note right of SomethingElse : This is the note to the right. SomethingElse --> [*]