antvis / Graphin

🌌 A React toolkit for graph visualization based on G6.
https://github.com/antvis/graphin
MIT License
1.03k stars 266 forks source link

graphin-circle node with badges type image cannot work with offset #507

Closed DustarMao closed 1 year ago

DustarMao commented 1 year ago

Describe the bug

see example: badge-circle and image are not in same position when set offset

Your Example Website or App

https://codesandbox.io/embed/silly-browser-pf9hfw?fontsize=14&hidenavigation=1&theme=dark

Steps to Reproduce the Bug or Issue

see example

Expected behavior

badge image should in badge circle

Screenshots or Videos

image

Platform

Additional context

No response

pomelo-nwu commented 1 year ago

@DustarMao thanks for your contribution ~

pomelo-nwu commented 1 year ago

@DustarMao Version 2.7.26 has been released: https://www.npmjs.com/package/@antv/graphin/v/2.7.26