Skip to content

@eightkk/vue-weave / core / resolveTimeRangeTargets

Function: resolveTimeRangeTargets() ​

resolveTimeRangeTargets(index, barIds, options?): TimeRangeTargets

Defined in: src/core/timeRangeTargets.ts:113

Turns active bars (for example from timelineBarsInRange) into the entities and view targets they stand for through index, and optionally walks options.graph from the active entities' graph nodes to find related entities. The two results stay apart: active* is what was worked on in the range, related* what the traversal reached besides. The walk is iterative and terminates on cycles. Throws like traverseGraph for invalid traversal options or graph edges. The inputs are not modified.

Parameters ​

index ​

ViewBindingIndex

barIds ​

Iterable<string>

options? ​

TimeRangeTargetsOptions = {}

Returns ​

TimeRangeTargets

Released under the MIT License.