Interface: DocumentGraphEdge
@kortexya/reasoninglayer / DocumentGraphEdge
Interface: DocumentGraphEdge
Section titled “Interface: DocumentGraphEdge”Defined in: src/types/documents.ts:496
One relation edge of a document’s knowledge graph.
Properties
Section titled “Properties”predicate
Section titled “predicate”predicate:
string
Defined in: src/types/documents.ts:502
Feature name holding the reference — the relation predicate.
source
Section titled “source”source:
string
Defined in: src/types/documents.ts:498
Source entity term id.
target
Section titled “target”target:
string
Defined in: src/types/documents.ts:500
Target entity term id.
weight
Section titled “weight”weight:
number
Defined in: src/types/documents.ts:504
Edge weight.