gpt4 book ai didi

javascript - VerticalLinks 属性的确切含义是什么?

转载 作者:行者123 更新时间:2023-11-28 19:49:48 24 4
gpt4 key购买 nike

在JointJS中有一个perpendicularLinks参数“使链接倾向于垂直于其关联的对象”。

这对我来说不太清楚。有人知道这个选项是什么吗?

最佳答案

perpendularLinks 选项确定链接的最后一段是否应指向目标对象的中心,或者是水平/垂直线而不是对 Angular 线。如果 perpendularLinkstrue,则链接不一定指向目标对象的中心,而是指向目标对象边界上最近的点(其中最后一段)链接是垂直的。

胜于 Eloquent ,请参阅以下图片:

垂直链接:

enter image description here

垂直链接:true

enter image description here

关于javascript - VerticalLinks 属性的确切含义是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23689725/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com