Replies: 1 comment
-
你可以先通过 addShape 创建一个 rect,然后在该 rect 上调用 addShape 来创建一个 label |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
可以看到只支持增加样式,但是通用属性无法添加, 例如我要添加一个rect,加一个label, 但是无法添加, 只能在创建一个text的shape
https://g6.antv.antgroup.com/manual/middle/elements/nodes/default-node#%E8%8A%82%E7%82%B9%E7%9A%84%E9%80%9A%E7%94%A8%E5%B1%9E%E6%80%A7
Beta Was this translation helpful? Give feedback.
All reactions