[Feat]: 使用交互创建边,完成创建时,在onFinish回调中手动添加port连接桩,但是保存数据时,调用graph.getEdgeData()方法时,无法获取手动添加的port
Open
feature 💡
- Dominant language
- TypeScript
- Stars
- 12.3k
- Forks
- 1.6k
- PR merge metrics
- No merged PRs in 30d
Description
### Describe the feature / 功能描述
使用交互创建边,完成创建时,在onFinish回调中手动添加port连接桩,但是保存数据时,调用graph.getEdgeData()方法时,无法获取手动添加的port,我希望知道怎么才能添加进去port,并且,在后续获取边数据时,可以看到style中有sourcePort和targetPort
### Are you willing to contribute? / 是否愿意参与贡献?
Please select / 请选择
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce interactive edge creation in G6, focusing on the onFinish callback and the graph.getEdgeData() result. Trace how manually added port data is stored and serialized; done when the saved edge style includes both sourcePort and targetPort.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100