Home > @tridion-sites/models > BlueprintReadonlyGraph > ancestorsByPriority
Get node ancestors by priority We are going bottom-to-top and by parent priority. Node grandparents are processed in order of priority of node’s parents. This allows to handle complex use-cases with multiple parents on the same distance in different blueprint branches
Signature:
ancestorsByPriority(nodeId: string): Iterable<BlueprintReadonlyParentLink<TData>>;
Parameter | Type | Description |
---|---|---|
nodeId | string |
Returns:
Iterable<BlueprintReadonlyParentLink<TData>>