antvis / Graphin

A React toolkit for graph visualization based on G6
https://graphin.antv.antgroup.com
MIT License
980 stars 263 forks source link

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

Closed DustarMao closed 9 months ago

DustarMao commented 9 months 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 9 months ago

@DustarMao thanks for your contribution ~

pomelo-nwu commented 9 months ago

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