English
@eightkk/vue-weave / core / beginGraphExpansion
Function: beginGraphExpansion()
beginGraphExpansion<
N,E>(state,ids,options?):GraphExpansionState<N,E>
Defined in: src/core/graphExpansion.ts:105
Marks nodes as being expanded, so they leave the frontier until their page is merged or the expansion is cancelled. With options.key, marks them as being expanded for that key only (in pendingIdsByKey); nodes already expanded, entirely or for that key, are skipped. Throws Error for a key that is not a non-empty string.
Type Parameters
N
N extends object
E
E extends GraphEdge<unknown>
Parameters
state
GraphExpansionState<N, E>
ids
Iterable<string>
options?
Returns
GraphExpansionState<N, E>