-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
关于插入图片 #26
Comments
这个接口后面会废弃掉。如果节点是一张图片,考虑用 dom 节点吧 https://antv.alipay.com/g6/demo/06-other/htmlnode.html |
simplejason
pushed a commit
to simplejason/G6
that referenced
this issue
Feb 21, 2022
Co-authored-by: shiwu <shiwu.wyy@antgroup.com>
daniele-pini
pushed a commit
to daniele-pini/G6
that referenced
this issue
Oct 14, 2022
…lowing for undo/redo (antvis#26) * Prevented the combo drag from spamming the stack with update actions, will no longer be pushed to stack. * Added combo utility that will retreive nested node/combo config models Combo drag will now be treated as one action when pushed to the stack, allowing it to be undone. * Fixed issue of combo being dragged when not selected. * Replaced lodash concat with spread operator * Build 4.6.4-siren.3
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
定义的节点image只支持http开头的吗,我写本地的不好用
`
addImage.on('click',function(ev){
net.beginAdd('node',{
shape:'china.png'//这个位置如果换成加http的是好使得
}) })
`
The text was updated successfully, but these errors were encountered: