Create a new Edge instance.
Unique identifier for the edge
Source node
Target node
Optionaldata: EdgeDataOptional data payload for the edge
Optionalstyle: Partial<EdgeFullStyle>Optional style for the edge
Get the edge's data.
Get the edge's style.
Get the edge's label style if available.
Get the edge's style.
Convert edge to a simple JSON object representation.
Merge partial data into the current edge data.
Partial data object to merge
Merge partial style into the current edge style. Useful for updating only parts of the style.
Partial style object to merge
Represents an edge (connection) between two nodes in a graph.