g3-toolkit API Reference
    Preparing search index...

    Interface StructuralDecorations

    Optional render-time decorations layered onto a structural scene. Used by SHACL shape views (slice B3): closed-shape borders and per-row validation severity. Generic and SHACL-agnostic: any client can mark containers or rows.

    interface StructuralDecorations {
        closedContainers?: ReadonlySet<string>;
        rowSeverities?: ReadonlyMap<string, "violation" | "warning" | "info">;
    }
    Index

    Properties

    closedContainers?: ReadonlySet<string>

    Container ids to render with a SOLID border (sh:closed). Others keep the default; pair with a dashed default if open shapes should read as dashed.

    rowSeverities?: ReadonlyMap<string, "violation" | "warning" | "info">

    Row id -> severity badge class driver (worst severity per row).