New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
自定义图形,nodes里面的x,y失效? #24
Comments
|
希望提供npm版本哦。如果拿不到 g6 的包名,是不是可以考虑换一个包名,G6 或者 antv-g6 之类的。 |
@antv/g6 是外部版的。已经升级到 1.1.1。升级一下版本,能解决你这个问题 |
补充一个问题,自定义图形的"size"属性怎么设置呢? |
cfg.size 含有 size 信息。自定义图形整个都是由你自己控制的,用其绘图属性控制它形状 |
@TomHuangCN 我的版本是@antv/g6 3.1.0,也有这个问题,请问有解决办法吗? |
simplejason
pushed a commit
to simplejason/G6
that referenced
this issue
Feb 21, 2022
* feat: force atlas 2 * chore: udpate version Co-authored-by: shiwu <shiwu.wyy@antgroup.com>
daniele-pini
pushed a commit
to daniele-pini/G6
that referenced
this issue
Oct 14, 2022
[INVE-18149] Add addItems function
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
安装的版本是:
我自定义了几个图标,代码大致如下:
然后我渲染的数据如下:
结果是,这一类图标渲染出来的位置在坐标原点。
The text was updated successfully, but these errors were encountered: