Interface: HypergraphResponse
@kortexya/reasoninglayer / HypergraphResponse
Interface: HypergraphResponse
Section titled “Interface: HypergraphResponse”Defined in: src/types/visualization.ts:349
Response for hypergraph visualization.
Properties
Section titled “Properties”components?
Section titled “components?”
optionalcomponents?:ComponentDto[]
Defined in: src/types/visualization.ts:351
S-connected components (if s_threshold > 0).
coreferences?
Section titled “coreferences?”
optionalcoreferences?: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.
Remarks
Section titled “Remarks”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
Section titled “degreeDistribution”degreeDistribution:
DegreeDistributionDto
Defined in: src/types/visualization.ts:364
Degree distribution.
graph:
VisualizationGraphDto
Defined in: src/types/visualization.ts:366
The visualization graph.
provenanceTags?
Section titled “provenanceTags?”
optionalprovenanceTags?:Record<string,number>
Defined in: src/types/visualization.ts:376
Provenance / certainty tag per visible Psi-term (term id → value in [0, 1]).
Remarks
Section titled “Remarks”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.