Jquery JS三角形失效时,垂直连接线和锚定

Jquery JS三角形失效时,垂直连接线和锚定,jquery,html,jsplumb,Jquery,Html,Jsplumb,我在当前的项目中使用JsPlumb,目前我有两个小问题,希望有人能帮我解决 var anEndpointDestination = { Connector: ["Straight"], anchor: ["Perimeter", { shape: "Diamond" }], endpoint: "Dot", maxConnections: -1, isSource: false, isTarget: true, anchor: [0.96,

我在当前的项目中使用JsPlumb,目前我有两个小问题,希望有人能帮我解决

var anEndpointDestination = {
    Connector: ["Straight"],
    anchor: ["Perimeter", { shape: "Diamond" }],
    endpoint: "Dot",
    maxConnections: -1,
    isSource: false,
    isTarget: true,
    anchor: [0.96, 0.2, 1, 0, 0, -25],
    paintStyle: { fillStyle: "blue" }
};
第一件我不能正常工作的事情是,两个achors之间的
连接线
像这样呈之字形

第二个问题是我的
anchor
没有从
anchor:[“周长”,{shape:“Diamond”}]


感谢advace中提供的“之”字形路径,我相信您需要使用流程图连接器。更多信息