View unanswered posts | View active topics It is currently 2019-11-22 6:50



Reply to topic  [ 2 posts ] 
 自动布局后如何设置居中 
Author Message
新手上路

Joined: 2019-01-23 17:49
Posts: 4
Post 自动布局后如何设置居中
自动布局后如何让我的拓扑图就在画布的中间显示呢?我的图现在在画布的左上角,好像设置中心节点的setLocation()是没有用的?有谁知道?


2019-08-03 15:20
Profile
初级会员

Joined: 2017-12-04 9:31
Posts: 121
Post Re: 自动布局后如何设置居中
network.panToCenter();


2019-08-13 16:58
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