@xenosite/xpict
    Preparing search index...

    Type Alias TextNode

    Text node — caption / chrome referenced by mols and edges via id.

    { "type": "text", "id": "adh", "text": "ADH" }
    
    type TextNode = {
        color?: string;
        id?: string;
        opts?: Opts;
        scale?: number;
        text: string;
        type: TextNodeKind;
    }
    Index
    color?: string
    id?: string

    Stable id — required when other nodes [MolNode::label] / edge lanes ref it.

    opts?: Opts
    scale?: number
    text: string

    Display text (markup-capable later).

    type: TextNodeKind