returns [LibraryElementArc!]!
Return all mapping arcs where this element is source or target.
Covers every taxonomy_type='mapping' bridge — equivalence,
general-special, rs-gaap-type-subtype. Each row is oriented from the
element's perspective (direction = outgoing | incoming).
| Name | Type | Description |
|---|---|---|
| id | ID! | The element to return incoming and outgoing mapping arcs for. |
A mapping arc involving a specific element.
Flat row view: one arc, oriented from the perspective of the element
being inspected. peer is the other end; direction says whether
this element is the source ('outgoing') or the target ('incoming').
Scoped to arcs whose structure belongs to a taxonomy_type='mapping'
taxonomy — the cross-taxonomy bridges (equivalence, general-special,
rs-gaap-type-subtype). Hierarchical arcs inside a single reporting taxonomy
are out of scope.
| Field | Type | Description |
|---|---|---|
| id | String! | — |
| direction | String! | 'outgoing' (this element is source) | 'incoming' (target) |
| associationType | String! | — |
| arcrole | String | — |
| taxonomyId | String | — |
| taxonomyStandard | String | — |
| taxonomyName | String | — |
| structureId | String | — |
| structureName | String | — |
| peer | LibraryElement! | — |
{ libraryElementArcs(id: "rec_...") { id direction associationType arcrole } }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": "{ libraryElementArcs(id: \"rec_...\") { id direction associationType arcrole } }"}'