如何用一个按钮控制动态的开启或者关闭画布的自动布局?

如何用外部一个按钮来控制当前画布自动布局的开启或者关闭呢? 比如有一个按钮,我点击画布自动开启自动布局,再次点击画布就取消自动布局,然后用自定义的位置信息来控制当前画布的显示内容和链路呢? 这样应该就解决了大部分的业务功能了。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。

I’m sorry, but after several tries I still do not understand what it is that you want to do. Could you please show some small screenshots, both before and after the operation of the HTML button?