Skip to content

Interface: HypergraphResponse

@kortexya/reasoninglayer


@kortexya/reasoninglayer / HypergraphResponse

Defined in: src/types/visualization.ts:349

Response for hypergraph visualization.

optional components?: ComponentDto[]

Defined in: src/types/visualization.ts:351

S-connected components (if s_threshold > 0).


optional coreferences?: CoreferenceGroupDto[]

Defined in: src/types/visualization.ts:362

Coreference groups: (term, feature) pairs whose values point at the same target Psi-term share one visual tag.

Psi-terms are graphs, not trees; a renderer that draws each reference as an independent edge loses the identity. Label both ends of an identity edge with the group’s tag. The engine omits the key when there are no groups.


degreeDistribution: DegreeDistributionDto

Defined in: src/types/visualization.ts:364

Degree distribution.


graph: VisualizationGraphDto

Defined in: src/types/visualization.ts:366

The visualization graph.


optional provenanceTags?: Record<string, number>

Defined in: src/types/visualization.ts:376

Provenance / certainty tag per visible Psi-term (term id → value in [0, 1]).

An asserted fact yields 1.0; a forward-chained fact yields its tagged certainty when the request asked for provenance, and 1.0 otherwise. Intended for polygon fill opacity. The engine omits the key when the map is empty.


stats: HypergraphStats

Defined in: src/types/visualization.ts:378

Statistics.