Coral 0.2.17 candidate API
    Preparing search index...

    Interface DeserializeResult

    Result of deserializing a document

    interface DeserializeResult {
        edges: CoralEdge[];
        edgeWaypoints?: Map<
            string,
            { id: string; type: string; x: number; y: number }[],
        >;
        metadata: DocumentMetadata;
        nodes: CoralNode[];
        settings: DocumentSettings;
        viewState?: ViewState;
    }
    Index
    edges: CoralEdge[]

    React Flow edges

    edgeWaypoints?: Map<
        string,
        { id: string; type: string; x: number; y: number }[],
    >

    Restored edge waypoints (CORAL-REQ-015) — Map<edgeId, waypoints>

    Document metadata

    nodes: CoralNode[]

    React Flow nodes

    Document settings

    viewState?: ViewState

    View state (if present)