Coral 0.2.17 candidate API
    Preparing search index...

    Interface SpatialLayoutRequest

    interface SpatialLayoutRequest {
        automaticPadding028?: ReadonlyMap<string, Padding>;
        candidateLayout?: LayoutResult;
        candidateRankReversedEdgeIds?: readonly string[];
        defaults?: LayoutDefaults;
        documentCatalog029?: CatalogSnapshot028;
        execution?: LayoutExecution;
        graph: GraphIR;
        operation: SpatialLayoutOperation;
        options?: LayoutOptionInput;
        proximitySceneOptions?: Pick<
            SvgOptions,
            | "style"
            | "lineHeight"
            | "fontSettings"
            | "fontSize"
            | "fontFamily"
            | "fontWeight",
        >;
        relayoutCandidate?: (
            retry: Pick<LayoutRequest, "defaults" | "options">,
        ) => Promise<LayoutResult>;
        revision: string;
    }
    Index
    automaticPadding028?: ReadonlyMap<string, Padding>

    D6: automatic-child padding of mixed groups, by node ID (containerAutomaticPadding028).

    candidateLayout?: LayoutResult

    Optional precomputed engine candidate (for example, from a worker).

    candidateRankReversedEdgeIds?: readonly string[]

    Edge IDs whose candidate layout was ranked target-to-source for UML inheritance.

    defaults?: LayoutDefaults
    documentCatalog029?: CatalogSnapshot028

    Edition 0.2.9 document catalog; user-symbol nodes resolve only through it.

    execution?: LayoutExecution
    graph: GraphIR
    proximitySceneOptions?: Pick<
        SvgOptions,
        | "style"
        | "lineHeight"
        | "fontSettings"
        | "fontSize"
        | "fontFamily"
        | "fontWeight",
    >

    Local scene context for preserving stronger authored label placement.

    relayoutCandidate?: (
        retry: Pick<LayoutRequest, "defaults" | "options">,
    ) => Promise<LayoutResult>

    Re-runs the caller's engine with a retry's defaults and options, so a caller that supplies candidateLayout gets the same bounded relayouts (R-039 AC-8) as one that lets the resolver run ELK. Without it, a supplied candidate is never retried.

    revision: string