g6/packages/site/docs/apis/data/EdgeModel.zh.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

29 lines
842 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: EdgeModel 内部数据
order: 7
---
EdgeModel 为内部流转的边数据,由 [EdgeUserModel](./EdgeUserModel.zh.md) 经过[数据转换](./DataIntro.zh.md#transforms-数据转换)后得到。
<embed src="../../common/DataInnerModelTips.zh.md"></embed>
<embed src="../../common/DataID.zh.md"></embed>
## source <Badge type="error">必须</Badge>
**类型**`string | number`
边起始节点的 ID应与 `nodes` 中的一项对应,否则该边数据不会被加入到图中。
## target <Badge type="error">必须</Badge>
**类型**`string | number`
边结束节点的 ID应与 `nodes` 中的一项对应,否则该边数据不会被加入到图中。
## data <Badge type="error">必须</Badge>
<embed src="../../common/DataAttrTips.zh.md"></embed>
<embed src="../../common/EdgeUserModel.zh.md"></embed>