Skip to content

Latest commit

 

History

History
66 lines (36 loc) · 1.13 KB

Edge.md

File metadata and controls

66 lines (36 loc) · 1.13 KB

@antv/graphlib / Exports / Edge

Interface: Edge<D>

Type parameters

Name Type
D extends PlainObject

Table of contents

Properties

Properties

data

data: D

Edge data should be an object with string key and any value.

Defined in

src/types.ts:43


id

id: ID

Every edge in a graph must have a unique ID.

Defined in

src/types.ts:28


source

source: ID

The ID of the starting node of the edge.

Defined in

src/types.ts:33


target

target: ID

The ID of the ending node of the edge.

Defined in

src/types.ts:38