2023-11-10 18:43:02 +08:00
|
|
|
---
|
|
|
|
title: EdgeModel
|
2023-12-01 17:44:49 +08:00
|
|
|
order: 7
|
2023-11-10 18:43:02 +08:00
|
|
|
---
|
|
|
|
|
2023-12-01 17:44:49 +08:00
|
|
|
EdgeModel is the internal edge data, which is obtained by [EdgeUserModel](./EdgeUserModel.en.md) through [transforms](./DataIntro.en.md#transforms).
|
2023-11-10 18:43:02 +08:00
|
|
|
|
2023-12-01 17:44:49 +08:00
|
|
|
<embed src="../../common/DataInnerModelTips.en.md"></embed>
|
2023-11-10 18:43:02 +08:00
|
|
|
|
2023-12-01 17:44:49 +08:00
|
|
|
<embed src="../../common/DataID.en.md"></embed>
|
2023-11-10 18:43:02 +08:00
|
|
|
|
2023-12-01 17:44:49 +08:00
|
|
|
## source <Badge type="error">Required</Badge>
|
2023-11-10 18:43:02 +08:00
|
|
|
|
2023-12-01 17:44:49 +08:00
|
|
|
**Type**: `string | number`
|
2023-11-10 18:43:02 +08:00
|
|
|
|
|
|
|
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.
|
|
|
|
|
2023-12-01 17:44:49 +08:00
|
|
|
## target <Badge type="error">Required</Badge>
|
2023-11-10 18:43:02 +08:00
|
|
|
|
2023-12-01 17:44:49 +08:00
|
|
|
**Type**: `string | number`
|
2023-11-10 18:43:02 +08:00
|
|
|
|
|
|
|
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.
|
|
|
|
|
2023-12-01 17:44:49 +08:00
|
|
|
## data <Badge type="error">Required</Badge>
|
2023-11-10 18:43:02 +08:00
|
|
|
|
2023-12-01 17:44:49 +08:00
|
|
|
<embed src="../../common/DataAttrTips.en.md"></embed>
|
2023-11-10 18:43:02 +08:00
|
|
|
|
2023-12-01 17:44:49 +08:00
|
|
|
<embed src="../../common/EdgeUserModel.en.md"></embed>
|