Skip to content

Commit

Permalink
refactor(element): remove useless sourceNode targetNode in edge data (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Aarebecca authored Dec 9, 2024
1 parent 525f498 commit 586c942
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions packages/g6/src/spec/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,20 +189,6 @@ export interface EdgeData {
* <en/> Target node ID
*/
target: ID;
/**
* <zh/> 边的起点 shape
*
* <en/> The source shape. Represents the start of the edge
* @internal
*/
sourceNode?: ID;
/**
* <zh/> 边的终点 shape
*
* <en/> The source shape. Represents the start of the edge
* @internal
*/
targetNode?: ID;
/**
* <zh/> 边类型
*
Expand Down

0 comments on commit 586c942

Please sign in to comment.