it:ad:plantuml:howto:examples

IT:AD:PlantUML:HowTo:Examples

Summary

  • Examples show use of \n to fold notes … but it blows it up. Remove, and it works fine.
  • 
 did not work.
  • \\n did not work.

check inputturn on verbosity!run commandinput is verboseYes

<uml>
class Object << general >>
Object <|--- ArrayList

note top of Object : In java, every class extends this one...

note "This is a floating note" as N1
note "This note is connected to several objects." as N2
Object .. N2
N2 .. ArrayList
</uml>


class Object << general >>
Object <|---|-------- ArrayList

note top of Object : In java, every class extends this one.

note "This is a floating note" as N1
note "This note is connected to several objects." as N2
Object .. N2
N2 .. ArrayList

participant User

User → A: Do Work

activate A #FFBBBB

A → A: Internal call activate A #DarkSalmon

A → B: « createRequest » activate B

B –

> A: RequestCreated

d

eactivate B deactivate A A → User: Done deactivate A </uml>

In ProgressOpenResolvedClosedReopenedStart ProgressStop ProgressResolve IssueClose IssueResolve IssueClose IssueClose IssueReopen IssueResolve IssueClose IssueReopen IssueStart Progress

<uml>
state "In Progress" as InProgress

Open -->  InProgress : Start Progress
Open --> Resolved : Resolve Issue
Open --> Closed : Close Issue
InProgress  -up-> Open : Stop Progress
InProgress  --> Resolved : Resolve Issue
InProgress  --> Closed : Close Issue
Resolved  --> Closed : Close Issue
Resolved  --> Reopened : Reopen Issue
Reopened  --> Resolved : Resolve Issue
Reopened  --> Closed  : Close Issue
Reopened  --> InProgress: Start Progress
Closed -up-> Reopened : Reopen Issue
</uml>

<uml>
[*] --> NotShooting

state NotShooting {
  [*] --> Idle
  Idle --> Configuring : EvConfig
  Configuring --> Idle : EvConfig
}

state Configuring {
  [*] --> NewValueSelection
  NewValueSelection --> NewValuePreview : EvNewValue
  NewValuePreview --> NewValueSelection : EvNewValueRejected
  NewValuePreview --> NewValueSelection : EvNewValueSaved
  
  state NewValuePreview {
     State1 -> State2
  }
  
}
</uml>

NotShootingIdleConfiguringNewValueSelectionNewValuePreviewState1State2EvNewValueEvNewValueRejectedEvNewValueSavedEvConfigEvConfig

<uml>
User -> (Start)
User --> (Use the application) : Polish label
:Main Admin: --> (Use the application) : This is a test
</uml>

UserStartUse the applicationMain AdminPolish labelThis is a test

  • /home/skysigal/public_html/data/pages/it/ad/plantuml/howto/examples.txt
  • Last modified: 2023/11/04 01:53
  • by 127.0.0.1