@xenosite/xpict
    Preparing search index...

    Type Alias Rendered

    Rendered depiction. scene is the editable JSON drawable; convert with xpict.toSvg(scene) when you want a string. Also an align_to target via frame_molblock.

    type Rendered = {
        bonds: SvgBond[];
        coords: SvgAtom[];
        frame_molblock: string;
        height: number;
        mol?: Mol;
        molecule: MoleculeIn;
        scene: Scene;
        source: string;
        svg_coords: SvgAtom[];
        width: number;
    }
    Index
    bonds: SvgBond[]
    coords: SvgAtom[]

    SCALE layout (mean bond ≈ 20), before viewBox pad.

    frame_molblock: string

    Pose molblock — for align_to: rendered.

    height: number
    mol?: Mol
    molecule: MoleculeIn
    scene: Scene

    Editable scene document (paths, circles, …).

    source: string
    svg_coords: SvgAtom[]

    ViewBox / SCALE positions — match scene / SVG ink.

    width: number