Skip to content

Commit 37bbb64

Browse files
committed
clarification on transitivity example
1 parent f8fde30 commit 37bbb64

File tree

2 files changed

+13
-9
lines changed

2 files changed

+13
-9
lines changed

docs/community/seps/2084-primitive-groups.mdx

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -260,11 +260,14 @@ Note: For simplicity, tasks and resource templates are not included in the examp
260260

261261
### Transitivity Example
262262

263+
A client that composes the group membership graph from the group list can represent the transitive relationships in whatever way it chooses.
264+
263265
- In the TypeScript reference implementation, the `communications` group contains `email` and `calendar` groups.
264-
- The example client allows the user to configure the maximum depth of the depth-first graph search.
265-
- When listing the primitives in the `communications` group at maximum graph depth, it displays the contents of both children.
266-
- In that case, `email_thank_contributor` would appear in both `email` and `communications`.
267-
- Some clients might wish to only show direct children of a group (depth of 1 in the example).
266+
- The example client allows the user to configure the maximum display depth of the graph.
267+
- When listing the primitives in the `communications` group at maximum graph depth, it displays the contents of all child groups.
268+
- In that case, the `email_thank_contributor` tool would appear in both `email` and `communications`.
269+
- Some clients might wish to only show direct children of a group (depth of 1 in the example).
270+
- In that case, the `email_thank_contributor` tool would appear in the `email` group, but not its parent, `communications`.
268271

269272
## Acknowledgements
270273

seps/2084-primitive-groups.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -243,12 +243,13 @@ The reference implementation's example client and server demonstrate how groups,
243243
Note: For simplicity, tasks and resource templates are not included in the example, but the SDK changes support grouping of both.
244244

245245
### Transitivity Example
246-
246+
A client that composes the group membership graph from the group list can represent the transitive relationships in whatever way it chooses.
247247
- In the TypeScript reference implementation, the `communications` group contains `email` and `calendar` groups.
248-
- The example client allows the user to configure the maximum depth of the depth-first graph search.
249-
- When listing the primitives in the `communications` group at maximum graph depth, it displays the contents of both children.
250-
- In that case, `email_thank_contributor` would appear in both `email` and `communications`.
251-
- Some clients might wish to only show direct children of a group (depth of 1 in the example).
248+
- The example client allows the user to configure the maximum display depth of the graph.
249+
- When listing the primitives in the `communications` group at maximum graph depth, it displays the contents of all child groups.
250+
- In that case, the `email_thank_contributor` tool would appear in both `email` and `communications`.
251+
- Some clients might wish to only show direct children of a group (depth of 1 in the example).
252+
- In that case, the `email_thank_contributor` tool would appear in the `email` group, but not its parent, `communications`.
252253

253254
## Acknowledgements
254255

0 commit comments

Comments
 (0)