The Syncfusion® native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
SGShyam G Syncfusion Team December 18, 2019 06:56 AM UTC
Hi Mithun,
Please set NodeConstraintsNone to lock an individual node and NodeConstraintsDefault to unlock an individual node. Similarly, you can set ConnectorConstraints None and Default to lock and unlock a connector Please refer to a code example, sample and help documentation below.
Code example:
lockObject() {
let node: NodeModel = this.diagram.getObject("firstNode");
//disable node interaction
node.constraints = NodeConstraints.None;
}
unlockObject() {
let node: NodeModel = this.diagram.getObject("firstNode");