View unanswered posts | View active topics It is currently 2020-01-23 4:38



Reply to topic  [ 2 posts ] 
 network进行缩放后,新增一个节点,节点里增加一个可编辑节点名的input,input的位置不会跟着改变是怎么回事呢 
Author Message
新手上路

Joined: 2019-04-02 15:45
Posts: 6
Post network进行缩放后,新增一个节点,节点里增加一个可编辑节点名的input,input的位置不会跟着改变是怎么回事呢
我network进行缩放后,然后新增一个节点,这个节点里增加一个可编辑节点名的input元素,input的位置不会跟着缩放的比例而改变是怎么回事呢


2019-09-09 10:55
Profile
TWaver开发组
User avatar

Joined: 2017-02-22 10:01
Posts: 424
Post Re: network进行缩放后,新增一个节点,节点里增加一个可编辑节点名的input,input的位置不会跟着改变是怎
您好,您增加的input元素是加在dom上了吧,network缩放只是在canvas上的缩放而已。
您可以用htmlNode去实现这个功能,htmlNode类似node,也是network中的网元,是可以跟着network的缩放改变大小的。


2019-12-17 17:54
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron