nyarhi_add_edge
Add a typed relationship between two nodes in a knowledge graph. Specify source and target node IDs, edge type, and optional properties.
Instructions
Add a typed edge between two nodes.
source/target are node ids, edge_type the relationship type
(e.g. owns, works_at), props optional key/value properties, store
an optional store file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | ||
| props | No | ||
| store | No | ||
| source | Yes | ||
| target | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |