Skip to main content

Interface: FieldRelationship

Defined in: src/types/interfaces/graph.interface.ts:78

Relationship between field nodes.

Remarks

Represents hierarchical and semantic relationships between fields using SKOS vocabulary.

Properties

fromId

readonly fromId: string

Defined in: src/types/interfaces/graph.interface.ts:82

Source field node ID.


strength?

readonly optional strength: number

Defined in: src/types/interfaces/graph.interface.ts:106

Confidence score (0-1).

Remarks

Represents confidence in the relationship. Lower for community-proposed relationships awaiting review; higher for established relationships.


toId

readonly toId: string

Defined in: src/types/interfaces/graph.interface.ts:87

Target field node ID.


type

readonly type: "broader" | "narrower" | "related"

Defined in: src/types/interfaces/graph.interface.ts:97

Relationship type.

Remarks

  • broader: Target is a broader concept (e.g., "AI" broader than "Neural Networks")
  • narrower: Target is a narrower concept (inverse of broader)
  • related: Target is a related concept (not hierarchical)