我正在创建一个新的jsPlumb连接。我将连接器的“ stub”值设置为30。绘制图后如何在不重新声明整个连接的情况下更改“ live”值? 例如-在不重新声明newConnect的情况下将“存根”增加10像素的按钮。有什么特别的东西吗?
newConnect = j.connect({
source: someSource,
target: smoeTarget,
anchors: ["Right", "Right"],
connector: ["Flowchart",{stub: 30} ],
endpoint: "Rectangle",
detachable: false,
overlays: [
[ "Arrow", { foldback:0.2 }]
]
});