nodesByIdentifier

Returns the marks grouped by identifier, cue wrappers unwrapped.

@internote/canvas-sdkFunction
On this page
import { nodesByIdentifier } from '@internote/canvas-sdk';

One walk where a surface would otherwise flatten its children once per kind it draws. A kind with no marks is absent from the map rather than an empty list.

#Signature

<N extends NodeLike>(children: readonly N[]): Map<string, N[]>

#Parameters

children
An environment's children.

Declared in packages/canvas-sdk/src/environment/node-query.ts:109.

Last updated