antvis/G6

Do you want to work on this issue?

You can request for a bounty in order to promote it!

[Feat]: Can you display custom nodes in the minimap? #6663

refuse-c posted onGitHub

Describe the feature / 功能描述

自定义节点(比如react节点)在小地图中渲染。

目前使用版本V5.0.35

Are you willing to contribute? / 是否愿意参与贡献?

Please select / 请选择


您提到的功能请求是关于在小地图中渲染自定义节点(例如 React 节点)。目前,G6 的小地图功能可能不支持直接渲染复杂的自定义节点,因为小地图通常用于简化的视图展示。

如果您希望在小地图中显示自定义节点,可能需要对小地图的渲染逻辑进行扩展或修改,以支持自定义节点的渲染。这可能涉及到对 G6 的源码进行修改,或者通过插件的方式实现。

如果您有兴趣参与贡献,可以考虑以下步骤:

  1. 查看 G6 的源码,特别是小地图的实现部分。
  2. 研究如何将自定义节点的渲染逻辑集成到小地图中。
  3. 提交一个 Pull Request,分享您的实现。

如果您需要进一步的帮助或指导,请随时告知。

<details> <summary>🪧 Tips</summary> For further assistance, please describe your question in the comments and @petercat-assistant to start a conversation with me. </details>

posted by petercat-assistant[bot] 4 months ago

Fund this Issue

$0.00
Funded
Only logged in users can fund an issue

Pull requests