Example of CRUD in Angular Diagram Component

This sample visualizes diagram elements created from database with diagram CRUD. Users can read, update, and delete database entities as diagram elements.

Description

This example shows how the user reads the data source and performs add, edit, delete of data in the data source at runtime. The crudAction property of the dataSourceSettings and crudAction property of the connectionDataSource allow you to define the server-side method name for create, read, update, and delete operations.

The insertData method is used to send the newly added/inserted data from client to server side. Likewise, updateData and removeData are used to send the updated and deleted diagram elements to the server.