returns LibraryElementTreeNode
Walk presentation arcs down from an element.
Pass structureId to scope the walk to one presentation
structure — required when the element participates in multiple
statement variants (e.g. classified vs unclassified balance sheet)
and a blended tree would misrepresent any single layout.
| Name | Type | Description |
|---|---|---|
| id | ID! | The element to walk down from. |
| maxDepth | Int | How many arc levels to follow. Omit for unbounded. |
| structureId | ID | Scope the walk to one presentation structure. Required where the element appears in several statement variants, since a blended tree misrepresents each. |
| Field | Type | Description |
|---|---|---|
| element | LibraryElement! | — |
| children | [LibraryElementTreeNode!]! | — |
{ libraryElementTree(id: "rec_...") }curl -X POST "https://api.robosystems.ai/extensions/$GRAPH_ID/graphql" \
-H "X-API-Key: $ROBOSYSTEMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query": "{ libraryElementTree(id: \"rec_...\") }"}'