g6/packages/site/docs/apis/data/EdgeModel.en.md
Aaron 3534d4669b
docs: adjust docs of data (#5211)
* docs: adjust docs of data

* docs: update api docs
2023-12-01 17:44:49 +08:00

891 B

title order
EdgeModel 7

EdgeModel is the internal edge data, which is obtained by EdgeUserModel through transforms.

source Required

Type: string | number

The ID of the source node of the edge, which should correspond to an item in nodes. Otherwise, the edge data will not be added to the graph.

target Required

Type: string | number

The ID of the target node of the edge, which should correspond to an item in nodes. Otherwise, the edge data will not be added to the graph.

data Required