Interface: HypergraphRequest
@kortexya/reasoninglayer / HypergraphRequest
Interface: HypergraphRequest
Section titled “Interface: HypergraphRequest”Defined in: src/types/visualization.ts:275
Request for term hypergraph visualization.
Properties
Section titled “Properties”generateDot?
Section titled “generateDot?”
optionalgenerateDot?:boolean
Defined in: src/types/visualization.ts:277
Whether to generate DOT output.
includeHyperedges?
Section titled “includeHyperedges?”
optionalincludeHyperedges?:boolean
Defined in: src/types/visualization.ts:279
Whether to include hyperedges.
includeProvenance?
Section titled “includeProvenance?”
optionalincludeProvenance?:boolean
Defined in: src/types/visualization.ts:303
Whether to run the tagged forward chainer on the visible subgraph and
report each term’s certainty in HypergraphResponse.provenanceTags.
Engine default false.
Remarks
Section titled “Remarks”Costs a forward-chaining run, linear in facts and rules.
includeRelations?
Section titled “includeRelations?”
optionalincludeRelations?:boolean
Defined in: src/types/visualization.ts:294
Whether to include relation Psi-terms (terms with source, target and
relation type) as intermediate hypergraph nodes. Engine default true.
Remarks
Section titled “Remarks”Pass false to skip the scan when only the per-term feature
decomposition is needed.
maxDepth?
Section titled “maxDepth?”
optionalmaxDepth?:number
Defined in: src/types/visualization.ts:281
Maximum depth to traverse.
rootTermId
Section titled “rootTermId”rootTermId:
string
Defined in: src/types/visualization.ts:283
Root term ID to start from (UUID).
sThreshold?
Section titled “sThreshold?”
optionalsThreshold?:number
Defined in: src/types/visualization.ts:285
S-threshold for s-connected components (0.0 = no filtering).