Maximize productivity with
30% off* for a limited time
using BOOSTDEV30.
Includes 3- and 5-packs.
*Some exclusions may apply.New Product LaunchBoldDesk: Help desk ticketing software starts at $10 for 3 agents.
Try it for free.
lockObject() {
let node: NodeModel = this.diagram.getObject("firstNode");
//disable node interaction
node.constraints = NodeConstraints.None;
}
unlockObject() {
let node: NodeModel = this.diagram.getObject("firstNode");
//enable node interaction
node.constraints = NodeConstraints.Default;
} |