Skip to content

Commit bb84ce9

Browse files
committed
Apply suggestions from code review
Add changes to docstrings.
1 parent 528b92f commit bb84ce9

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/structurizr/view/dynamic_view.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,11 +168,14 @@ def parallel_sequence(self, continue_numbering: bool):
168168
(`False`). The latter is usually done so that you can start a
169169
new parallel sequence.
170170
171+
Examples:
171172
Parallel sequences allow for multiple parallel flows to share the same
172-
sequence numbers, so e.g.
173+
sequence numbers, for example,
174+
173175
/-> C -\
174176
A -> B -{ }-> E -> F
175177
\-> D -/
178+
176179
could happen concurrently but you want both B->C and B->D to get order
177180
number 2, and C->E and D->E to get order number 3. To achieve this,
178181
you would do:
@@ -194,7 +197,7 @@ def parallel_sequence(self, continue_numbering: bool):
194197

195198
@property
196199
def relationship_views(self) -> Iterable[RelationshipView]:
197-
"""Return the relationship views, sorted in order.
200+
"""Return the relationship views in order of their sequence number.
198201
199202
Sorting uses "version number" style ordering, so 1 < 1.1 < 2 < 10.
200203
"""

0 commit comments

Comments
 (0)