@xenosite/xpict
    Preparing search index...

    Type Alias EdgeNode

    Edge node — a reaction / network link between mol ids.

    [Self::sources] / [Self::targets] are one or many mol ids (A+B → C+D). Label chrome refs sibling text/mol nodes via [Self::label].

    type EdgeNode = {
        arrow: EdgeArrow;
        color?: string;
        dashed: boolean;
        edge_routing?: EdgeRouting;
        label?: Label;
        role?: string;
        sources: MolIds;
        stroke_width?: number;
        targets: MolIds;
        type: EdgeNodeKind;
    }
    Index
    arrow: EdgeArrow
    color?: string
    dashed: boolean
    edge_routing?: EdgeRouting

    Per-edge override of scheme [LayoutOpts::edge_routing].

    label?: Label

    Label chrome: id / list / {id, pos?} / {above,below,left,right}.

    Hosts should measure each placement’s text (or mol viewport) and pass those boxes to the layout engine with the placement pos (edge side).

    role?: string

    Optional semantic role (e.g. enzyme) — not drawn by default.

    sources: MolIds

    Reactant mol id(s) — "a" or ["a","b"] (alias: source).

    stroke_width?: number
    targets: MolIds

    Product mol id(s) — "c" or ["c","d"] (alias: target).

    type: EdgeNodeKind

    Wire discriminant — required so untagged [Node] does not absorb edges as mols.