@xenosite/xpict
    Preparing search index...

    Type Alias Scene

    Full drawable document before SVG/HTML serialization.

    Python contracts.scene.Scene and JS consumers should mirror this shape (JSON round-trip is the ABI).

    type Scene = {
        halo: Primitive[];
        height: number;
        overlays: Primitive[];
        viewports: Viewport[];
        width: number;
        x: number;
        y: number;
    }
    Index
    halo: Primitive[]

    Document-space knockout (scheme compose). Per-mol halo lives in the viewport Halo layer so it nests inside g.xpict-mol.

    height: number
    overlays: Primitive[]

    Document-space primitives (reaction arrows) above viewports.

    viewports: Viewport[]
    width: number
    x: number

    viewBox min-x. Size is [Self::width] × [Self::height]. Default 0.

    y: number

    viewBox min-y. Default 0.