跳到主要内容

connectionPoints

描述

可选。启用/禁用通过连接控件连接形状的功能

信息

connectionPoints 属性仅在 default 模式下有效。

用法

connectionPoints?: boolean;

默认配置

connectionPoints: true

示例

const editor = new dhx.DiagramEditor("editor_container", {
type: "default", // 仅支持 "default"
connectionPoints: false, // 默认为 true
// 其他配置
});

更新日志:v6.0 中新增