Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
refuse-c opened this issue Dec 25, 2024 · 1 comment
Open

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

refuse-c opened this issue Dec 25, 2024 · 1 comment
Labels
status: waiting for maintainer These issues have not yet been reviewed by a maintainer

Comments

@refuse-c
Copy link

Describe the feature / 功能描述

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

目前使用版本V5.0.35

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

Please select / 请选择

@refuse-c refuse-c added the status: waiting for maintainer These issues have not yet been reviewed by a maintainer label Dec 25, 2024
Copy link

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

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

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

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

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

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

@github-actions github-actions bot changed the title [Feat]: 可以支持自定义节点在小地图中显示? [Feat]: Can you display custom nodes in the minimap? Dec 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: waiting for maintainer These issues have not yet been reviewed by a maintainer
Projects
None yet
Development

No branches or pull requests

1 participant