Skip to main content

Interface: EdgeWithNodes

Defined in: web/lib/hooks/use-edges.ts:122

Edge with resolved nodes.

Extends​

Properties​

$type?​

optional $type: "pub.chive.graph.getEdge#graphEdge"

Defined in: web/lib/api/generated/types/pub/chive/graph/getEdge.ts:53

Inherited from​

GraphEdge.$type


cid?​

optional cid: string

Defined in: web/lib/api/generated/types/pub/chive/graph/getEdge.ts:59

Content identifier

Inherited from​

GraphEdge.cid


createdAt​

createdAt: string

Defined in: web/lib/api/generated/types/pub/chive/graph/getEdge.ts:76

Creation timestamp

Inherited from​

GraphEdge.createdAt


createdBy?​

optional createdBy: string

Defined in: web/lib/api/generated/types/pub/chive/graph/getEdge.ts:78

DID of creator

Inherited from​

GraphEdge.createdBy


id​

id: string

Defined in: web/lib/api/generated/types/pub/chive/graph/getEdge.ts:55

Edge UUID identifier

Inherited from​

GraphEdge.id


metadata?​

optional metadata: EdgeMetadata

Defined in: web/lib/api/generated/types/pub/chive/graph/getEdge.ts:70

Inherited from​

GraphEdge.metadata


proposalUri?​

optional proposalUri: string

Defined in: web/lib/api/generated/types/pub/chive/graph/getEdge.ts:74

AT-URI of creating proposal

Inherited from​

GraphEdge.proposalUri


relationSlug​

relationSlug: string

Defined in: web/lib/api/generated/types/pub/chive/graph/getEdge.ts:67

Relation slug (broader, narrower, related, etc.)

Inherited from​

GraphEdge.relationSlug


relationUri?​

optional relationUri: string

Defined in: web/lib/api/generated/types/pub/chive/graph/getEdge.ts:65

AT-URI of relation type node

Inherited from​

GraphEdge.relationUri


sourceNode?​

optional sourceNode: GraphNode

Defined in: web/lib/hooks/use-edges.ts:124

Resolved source node


sourceUri​

sourceUri: string

Defined in: web/lib/api/generated/types/pub/chive/graph/getEdge.ts:61

AT-URI of source node

Inherited from​

GraphEdge.sourceUri


status​

status: string & object | "proposed" | "established" | "deprecated"

Defined in: web/lib/api/generated/types/pub/chive/graph/getEdge.ts:72

Edge lifecycle status

Inherited from​

GraphEdge.status


targetNode?​

optional targetNode: GraphNode

Defined in: web/lib/hooks/use-edges.ts:126

Resolved target node


targetUri​

targetUri: string

Defined in: web/lib/api/generated/types/pub/chive/graph/getEdge.ts:63

AT-URI of target node

Inherited from​

GraphEdge.targetUri


updatedAt?​

optional updatedAt: string

Defined in: web/lib/api/generated/types/pub/chive/graph/getEdge.ts:80

Last update timestamp

Inherited from​

GraphEdge.updatedAt


uri​

uri: string

Defined in: web/lib/api/generated/types/pub/chive/graph/getEdge.ts:57

AT-URI of the edge

Inherited from​

GraphEdge.uri


weight?​

optional weight: number

Defined in: web/lib/api/generated/types/pub/chive/graph/getEdge.ts:69

Edge weight (scaled by 1000 for 0.0-1.0 range)

Inherited from​

GraphEdge.weight