antvis/G6

[docs]: "G node with JSX syntax" page does not open properly #6878

divq posted onGitHub

📍 Which page are you reading?

https://g6.antv.vision/examples/element/custom-node/#react-g

💭 What's on your mind?

Missing information / 信息不完整

🤔 Tell us more

这个页面时好时坏,有时候能打开,有时候不能打开。能打开的时候是这样的:

<img width="1279" alt="Image" src="https://github.com/user-attachments/assets/0a19c3e0-515e-4fd6-b38e-dd07e727ef60" />

不能打开的时候是这样的:

<img width="1053" alt="Image" src="https://github.com/user-attachments/assets/31e0f567-5607-45f7-950c-9df3d0aea43b" />

💡 Got any suggestions?

No response


看起来您遇到了访问 G6 文档页面时的间歇性问题。这个问题可能与网络连接、浏览器缓存或服务器状态有关。以下是一些可能的解决方案:

  1. 清除浏览器缓存:有时候,缓存可能会导致页面加载不正确。尝试清除浏览器缓存,然后重新加载页面。

  2. 检查网络连接:确保您的网络连接稳定,因为不稳定的网络可能导致页面加载失败。

  3. 尝试不同的浏览器:有时候,浏览器的兼容性问题可能会导致页面无法正常显示。尝试使用不同的浏览器访问该页面。

  4. 检查服务器状态:如果问题持续存在,可能是服务器端的问题。您可以稍后再试,或者联系网站管理员以获取更多信息。

如果这些方法都无法解决问题,您可以在 GitHub 上提交一个 issue,描述您遇到的问题,以便开发团队能够调查和解决。

<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] about 1 month ago

@divq 现在不支持这个写法了,如果是非常复杂的节点 ui,建议使用 react 去定制节点。这个 demo 和文档,我们准备下掉 @zhongyunWan

相关内容:https://github.com/antvis/G6/pull/6837

posted by hustcc about 1 month ago

Fund this Issue

$0.00
Funded

Pull requests