antvis/G6




The issue has been closed
UI 插件迁移 - Fisheye #4582
Yanyan-Wang posted onGitHub
Issue Hunt 计划(可选)
- 我同意将这个 Issue 参与 Issue Hunt 计划
Issue 难度
中等难度
悬赏
请在 2023 年 7 月 1 日之前完成 PR,7 月 15 日之前完成全部 CR 意见的修改。
AntV 将支付 $20 (汇率按结算当日计)
问题描述
将 G6 4.x 中的 Fisheye 插件 迁移到 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 Fisheye 所有能力和配置;
重现链接
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 中的 Fisheye 插件 迁移到 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 Fisheye 所有能力和配置;
平台
- 操作系统: [macOS, Windows, Linux, React Native ...]
- 网页浏览器: [Google Chrome, Safari, Firefox]
- G6 版本: [5.0-alpha]
屏幕截图或视频(可选)
No response
补充说明(可选)
No response