antvis/G6

Dagre 开发示例切换到 WebGL 渲染下报错 #5034

xiaoiver posted onGitHub

Describe the bug

Canvas / SVG 下正常。切换到 WebGL 渲染器报错。

<img width="1478" alt="截屏2023-10-07 上午10 38 11" src="https://github.com/antvis/G6/assets/3608471/5726bf05-bbd1-4c7d-8211-c8c552c2cad8">

报错原因是 markerEnd 的父节点为 null: <img width="665" alt="截屏2023-10-07 上午11 37 13" src="https://github.com/antvis/G6/assets/3608471/08c5801d-ee1e-4e57-be70-5cb6285f96db">

Your Example Website or App

http://localhost:8080/?name=layouts_dagre

Steps to Reproduce the Bug or Issue

Canvas / SVG 下正常。

Expected behavior

渲染一致

Screenshots or Videos

No response

Platform

  • OS: [e.g. macOS, Windows, Linux]
  • Browser: [e.g. Chrome, Safari, Firefox]
  • Version: [e.g. 91.1]

Additional context

No response


已修复,更新到 @antv/g-webgl@1.9.22 即可: <img width="513" alt="截屏2023-10-07 下午1 55 43" src="https://github.com/antvis/G6/assets/3608471/2d216754-67bd-421e-a778-9fce8f78db80">

posted by xiaoiver over 1 year ago

Fund this Issue

$0.00
Funded

Pull requests