const edge: Edge = {
id: "edge_works_for",
name: "Works For",
description: "Employment relationship between a person and an organization",
embedding: [0.1, 0.2, 0.3],
sourceId: "node_person",
targetId: "node_company",
properties: [startDateProperty, salaryProperty],
ready: Promise.resolve()
};
Represents an edge connecting two nodes in the ontology graph.
Edges represent relationships between nodes and can have their own properties and semantic embeddings. Each edge has a source and target node, and supports asynchronous initialization for loading embeddings.