Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languageplantuml
@startuml
Class01 <|-- Class02
Class03 *-- Class04
@enduml

We've encountered an issue exporting this macro. Please try exporting this page again later.Image Added

In this example, Class01 is connected to Class02 using a simple inheritance, represented by <|--, and Class03 is connected to Class04 using composition, represented by *--.

...

Code Block
languageplantuml
@startuml
User -- (Create)
User -- (Edit)
@enduml

We've encountered an issue exporting this macro. Please try exporting this page again later.Image Added

In this example, User is an actor that interacts with the system to Create and Edit.

...

Code Block
languageplantuml
@startuml
Alice -> Bob: Authentication Request
Bob --> Alice: Authentication Response
@enduml

We've encountered an issue exporting this macro. Please try exporting this page again later.Image Added

In this example, Alice sends an Authentication Request to Bob, and Bob sends an Authentication Response back to Alice.

...

Code Block
languageplantuml
@startuml
Class01 "1" *-- "many" Class02 : contains
@enduml

We've encountered an issue exporting this macro. Please try exporting this page again later.Image Added

Here, Class01 has a one-to-many relationship with Class02 and is labeled contains.

...

Code Block
languageplantuml
@startuml
Class01 <|-- Class02
note right: This is a note on the right.
@enduml

We've encountered an issue exporting this macro. Please try exporting this page again later.Image Added

This will add a note on the right side of your diagram, containing the text This is a note on the right.

...