@xenosite/xpict
    Preparing search index...

    Type Alias MolNode

    Mol node — [MolOpts] fields + non-cascading identity / scores / align.

    type MolNode = {
        align_to?: AlignTo;
        color?: string;
        cxsmiles?: string;
        halo?: boolean;
        id?: string;
        label?: Label;
        molfile?: string;
        opts?: Opts;
        scale?: number;
        shade?: ShadeSpec;
        smiles?: string;
        star_labels?: (string | null)[];
        type: MolNodeKind;
        weight?: number;
    }
    Index
    align_to?: AlignTo

    Template id string, or { "ref", "atom_map"?, "min_atoms"? }.

    color?: string
    cxsmiles?: string
    halo?: boolean
    id?: string
    label?: Label

    Caption: [Label] (string id, list, or {id, pos?} — text-node refs).

    pos on a placement chooses caption side (above/below/left/right); hosts measure the resolved text and fold that into node size for layout.

    molfile?: string
    opts?: Opts

    Cascade patches for this node (list or singleton).

    scale?: number
    shade?: ShadeSpec

    Shade scores (+ legacy window); window also cascades via [Opts].

    smiles?: string
    star_labels?: (string | null)[]
    type: MolNodeKind
    weight?: number