@antv/graphlib / Exports / Edge
Name | Type |
---|---|
D |
extends PlainObject |
• data: D
Edge data should be an object with string key and any value.
• id: ID
Every edge in a graph must have a unique ID.
• source: ID
The ID of the starting node of the edge.
• target: ID
The ID of the ending node of the edge.