antvis/G6

React-rendered nodes fail to display minimaps #6400

eyelly-wu posted onGitHub

Describe the bug / 问题描述

官网的示例,仅仅是添加 plugins: ['minimap'] 配置,开启小地图后,没有显示 React 渲染的内容

  1. 采用 JSX 语法的 G 节点

    <img width="1500" alt="image" src="https://github.com/user-attachments/assets/5c1279e9-103b-4e6a-8a55-ea9bbd2b89f8">

  2. React 节点

    <img width="1503" alt="image" src="https://github.com/user-attachments/assets/03d2881c-a706-4dd8-a516-d64a93e8bef2">

No response

Steps to Reproduce the Bug or Issue / 重现步骤

No response

G6 Version / G6 版本

🆕 5.x

Operating System / 操作系统

macOS

Browser / 浏览器

Edge

Additional context / 补充说明

No response


minimap 目前仅支持原生节点,对于 react 节点暂不支持

posted by Aarebecca 6 months ago

Fund this Issue

$0.00
Funded

Pull requests