Skip to main content

Interface: EdgeWithNodes

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

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:54

Inherited from

GraphEdge.$type


cid?

optional cid: string

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

Content identifier

Inherited from

GraphEdge.cid


createdAt

createdAt: string

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

Creation timestamp

Inherited from

GraphEdge.createdAt


createdBy?

optional createdBy: string

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

DID of creator

Inherited from

GraphEdge.createdBy


id

id: string

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

Edge UUID identifier

Inherited from

GraphEdge.id


metadata?

optional metadata: EdgeMetadata

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

Inherited from

GraphEdge.metadata


proposalUri?

optional proposalUri: string

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

AT-URI of creating proposal

Inherited from

GraphEdge.proposalUri


relationSlug

relationSlug: string

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

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:66

AT-URI of relation type node

Inherited from

GraphEdge.relationUri


sourceNode?

optional sourceNode: GraphNode

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

Resolved source node


sourceUri

sourceUri: string

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

AT-URI of source node

Inherited from

GraphEdge.sourceUri


status

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

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

Edge lifecycle status

Inherited from

GraphEdge.status


targetNode?

optional targetNode: GraphNode

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

Resolved target node


targetUri

targetUri: string

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

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:81

Last update timestamp

Inherited from

GraphEdge.updatedAt


uri

uri: string

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

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:70

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

Inherited from

GraphEdge.weight