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.
Also i need to restrict input connections to some nodes or symbols , so that they can only connect to others but no other node shall connect to that node.
GGGowtham Gunashekar Syncfusion Team March 11, 2021 03:28 PM UTC
Hi Jayesh,
We have added a sample link to demonstrate how to add restrict the drawn connector at collection change event and achieve you requirement. While draw a connector using drawing tool we don’t have any option to restrict but after add the connector we can add restriction in the collectionChange event and cancel the connector addition.
Code snippet:
public collectionChange(arg: ICollectionChangeEventArgs) {
if (arg.state === "Changing") {
for (var i = 0; i < this.diagram.connectors.length; i++) {
let currentConnector: Connector = arg.element as Connector;