You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _docs/language-reference/aggregate.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -88,7 +88,15 @@ A _write_ operation may changes the state of the Aggregate. Such state transitio
88
88
}
89
89
</pre></div>
90
90
91
-
These language features allow you to define the lifecycle of an Aggregate. The following examples show all possible variants of state transitions:
91
+
With our [PlantUML generator](/docs/plant-uml/) you can visualize the lifecycle of your Aggregates with state diagrams. For example, the model at the top of this page generates the following state diagram:
92
+
93
+

94
+
95
+
**Note:** If you use the _target state_ markers (*) as documented above, we also use this information in our [PlantUML Generator](/docs/plant-uml/) and generate the corresponding end states:
96
+
97
+

98
+
99
+
These language features allow you to define the lifecycle of an Aggregate. The following example show all possible variants of state transitions (note that the following example is not in line with the example above; it just shows all variants of possible state transitions):
92
100
93
101
<divclass="highlight"><pre><span></span><spanclass="c">// an initial state:</span>
_Hint:_ You can also model the state transition inside your [event flows in the application layer]().
115
-
116
-
With our [PlantUML generator](/docs/plant-uml/) you can visualize the lifecycle of your Aggregates with state diagrams. For example, the model at the top of this page generates the following state diagram:
117
-
118
-

119
-
120
-
**Note:** If you use the _target state_ markers (*) as documented above, we also use this information in our [PlantUML Generator](/docs/plant-uml/) and generate the corresponding end states:
121
-
122
-

122
+
_Hint:_ You can also model the state transition inside your [event flows in the application layer](/docs/application-and-process-layer/#processes-and-eventcommand-flows).
123
123
124
124
## Aggregate Owner
125
125
CML allows specifying an owner on the aggregate level. If aggregates are maintained by different teams, you can specify this as in the
0 commit comments