【问题标题】:JsPlumb connector lines and anchor as triangle failsJsPlumb 连接线和锚定为三角形失败
【发布时间】:2015-11-17 07:48:41
【问题描述】:

我在当前项目中使用 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 之间的 Connector linedemo 一样进入曲折路径。

第二个问题是我的anchor 没有从anchor: ["Perimeter", { shape: "Diamond" }] 得到菱形

提前感谢

【问题讨论】:

    标签: jquery html jsplumb


    【解决方案1】:

    对于 zig/zag 路径,我相信您需要使用流程图连接器。更多信息here

    【讨论】:

      猜你喜欢
      • 2013-06-16
      • 2022-01-25
      • 1970-01-01
      • 2010-12-21
      • 2019-06-24
      • 1970-01-01
      • 2018-02-11
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多