import { traverseAssociations } from "@arcgis/core/rest/networks/traverseAssociations.js";
Since
ArcGIS Maps SDK for JavaScript 5.2

The utility network associations model connectivity, containment, and structure relations between assets. This function traverses the associations table and returns associations and objects based on input parameters.

See also

Functions

traverseAssociations

Function

Returns associations and objects traversed and filtered by the TraverseAssociationsParameters in a utility network.

Signature
traverseAssociations (url: string, parameters: TraverseAssociationsParameters, requestOptions?: RequestOptions): Promise<TraverseAssociationsResult>

Parameters

ParameterTypeDescriptionRequired
url

URL to the ArcGIS Server REST resource that represents a utility network.

parameters

The list of parameters for the call.

requestOptions

Additional options to be used for the data request.

Returns
Promise<TraverseAssociationsResult>

When resolved, returns the traverse results which could include associations and network objects.