iink-ts - v4.0.0
    Preparing search index...

    Type Alias TJiixIndex

    Indexed JIIX data for fast queries

    type TJiixIndex = {
        elementById: Map<string, TJIIXElement>;
        elementToStrokes: Map<string, string[]>;
        strokeToContext: Map<string, TStrokeQueryResult["context"]>;
        strokeToElement: Map<string, TJIIXElement>;
        strokeToLabel: Map<string, string>;
        version: number;
    }
    Index
    elementById: Map<string, TJIIXElement>

    Map element ID -> element (for label lookup without needing model.exports)

    elementToStrokes: Map<string, string[]>

    Map element ID -> all stroke IDs

    strokeToContext: Map<string, TStrokeQueryResult["context"]>

    Map stroke ID -> context info

    strokeToElement: Map<string, TJIIXElement>

    Map stroke ID -> parent element

    strokeToLabel: Map<string, string>

    Map stroke ID -> precise label

    version: number

    Cache version for invalidation