Diagram editor - onItemClick

Hello
Is there any work around for catching a onItemClick event on the diagram-editor on a shap present on the canvas? Please.

Hello @JohnDino!

The Diagram Editor doesn’t have its own onItemClick event, however, it’s built on top of the existing ui.diagram (more precisely, the diagram view is inside the “layout”, which is called Diagram Editor). And ui.diagram has its own onItemClick, which we can listen to

The Diagram Editor component, as well as most of our complex widgets (except Kanban and Spreadsheet), is built as a modularized app on Webix Jet, and the user can customize existing modules or add new ones. Modules are implemented as JetViews (ES6 classes) where any UI element, data-related service, or feature can be customized by the same rules. For more details about this architecture, please check the following blog article, which describes the general idea and reasons for this structure.

Please note that complex modifications may require observing the source code of the tool in order to build the most feasible solution that will correctly alter/extend the original logic.

Check out the snippet: Code Snippet