G6
G6 copied to clipboard
UI 插件迁移 - EdgeBundling
Issue Hunt 计划(可选)
- [X] 我同意将这个 Issue 参与 Issue Hunt 计划
Issue 难度
中等难度
悬赏
请在 2023 年 7 月 1 日之前完成 PR,7 月 15 日之前完成全部 CR 意见的修改。
AntV 将支付 $25 (汇率按结算当日计)
问题描述
将 G6 4.x 中的 EdgeBundling 插件 迁移到 5.0 中,注意:
-
4.x 的 plugin 在 5.0 属于自由插件模块,参考 5.0 Minimap 的实现:https://github.com/antvis/G6/blob/v5/packages/g6/src/stdlib/plugin/minimap/index.ts
-
继承 Base Plugin;
-
保留 4.x EdgeBundling 所有能力和配置;
-
依赖 polyline,polyline 需要先迁移完成; https://github.com/antvis/G6/issues/4577
重现链接
https://github.com/antvis/G6/blob/v5/packages/g6/src/stdlib/plugin/minimap/index.ts
重现步骤
- clone g6 代码
git clone https://github.com/antvis/G6.git
- 拉取所有线上分支
git fetch
- 切换到 v5 分支
git checkout v5
- 进入 g6 包
cd packages/g6
- 安装依赖
npm install
- 启动 demo
npm run dev
- 实现功能、新增 demo 以测试
demo 位于 packages/g6/tests/integration
-
提交代码,等待 CR
-
根据(多次) CR 建议修改
-
等待合并入 v5 分支后,管理员支付奖金
预期行为
将 G6 4.x 中的 EdgeBundling 插件 迁移到 5.0 中,注意:
-
4.x 的 plugin 在 5.0 属于自由插件模块,参考 5.0 Minimap 的实现:https://github.com/antvis/G6/blob/v5/packages/g6/src/stdlib/plugin/minimap/index.ts
-
继承 Base Plugin;
-
保留 4.x EdgeBundling 所有能力和配置;
-
依赖 polyline,polyline 需要先迁移完成; https://github.com/antvis/G6/issues/4577
平台
- 操作系统: [macOS, Windows, Linux, React Native ...]
- 网页浏览器: [Google Chrome, Safari, Firefox]
- G6 版本: [5.0-alpha]
屏幕截图或视频(可选)
No response
补充说明(可选)
No response
请复制以下模板,填写相关信息,然后删除模板中的注释。 Please copy the following template, fill in the relevant information, and then delete the comments in the template.
## Issue 认领 / Issue Claim
**贡献者/Contributor**
> 例如:张三, 李四
> For example: John Smith, Sarah Johnson
**预计完成时间/Estimated Completion Date**
> 例如:2023-06-06
> For example: May 30, 2023
**联系方式/Contact Information**
> 例如:[email protected]
> For example: [email protected]
**其他信息/Additional Information**
> 例如:这个 issue 比预期的要复杂,我希望能获得更多的奖励
> For example: This issue is more complex than expected, and I hope to receive more reward.
Issue 认领 / Issue Claim
贡献者/Contributor
drl990114
预计完成时间/Estimated Completion Date
2023-11-11 之前
联系方式/Contact Information
其他信息/Additional Information
无
hello,辛苦问下这个任务还能认领嘛
hello,辛苦问下这个任务还能认领嘛
可以认领,但是现在不会发钱了,但是对于代码贡献会有一些周边回报。
另外,这个关于插件的任务,到三月会批量发布,到时候来多多参与吧。
好的,辛苦帮忙标记下认领吧,想周末干一下
忙标记下认领吧,想
等发布任务之后,通知你哈~ 现在这个可能还没发开工!
好的~
@lionztt 已经发布新任务,可以在 https://github.com/antvis/G6/issues/5555 认领,本 issue 关闭。