Skip to content

@graphty/graphty-element / session / UnboundLayerCode

Type Alias: UnboundLayerCode ​

UnboundLayerCode = "layer.detached" | "layer.unanswered"

Defined in: graphty-element/src/session/styles/explain.ts:392

Why a layer paints nothing, as the code of its UnboundLayer.fact. The application words it; graphty-element writes no sentence for it. Each code's params:

CodeParams
layer.detachedlayerId, name: the layer, whose {match:"member"} scope cannot be resolved (a set this project does not hold, a cycle); error: the GraphtyErrorCode the scope was refused with
layer.unansweredlayerId, name: the layer; paths: the paths it reads, none of which this session answers (the same list as needs)

New codes may be added in a minor release: word an unknown one generically.

Since ​

3.17.0