---
title: EdgeModel
order: 7
---
EdgeModel is the internal edge data, which is obtained by [EdgeUserModel](./EdgeUserModel.en.md) through [transforms](./DataIntro.en.md#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