APIDiagram Editor APIEditor APIEditor 事件shapeResize本页总览shapeResize 描述 在形状调整大小后触发用法"shapeResize": () => void;信息要处理 Diagram Editor 的内部事件,您可以使用 on() 方法。示例// 初始化 Diagram Editorconst editor = new dhx.DiagramEditor("editor_container");// 加载数据editor.parse(data);// 为事件绑定处理程序editor.events.on("shapeResize", () => { console.log("The shape has been resized");});