Skip to content

Commit

Permalink
added sequence diagram to control object documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
daign committed May 25, 2023
1 parent 26eab95 commit 0985974
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions docs/control-objects.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,30 @@ they are written back to the control object.
This will then trigger a redraw of the control object.

Afterwards the [redraw of the application](./redraw-cycle.md) is automatically executed.

```mermaid
sequenceDiagram
actor A as User
participant B as ControlObject
participant C as ControlPoint
participant D as ControlModifier
participant E as Application
A ->> B: click
activate B
B ->> C: redrawControlObjects
deactivate B
A ->> C: drag
activate C
C ->> D: modifyPoints
activate D
D ->> C: return modified points
deactivate D
C ->> B: set modified points
activate B
B ->> B: redraw
deactivate B
C ->> E: redraw
deactivate C
```

0 comments on commit 0985974

Please sign in to comment.