Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
149129 | Nov 15,2019 10:40 AM UTC | Nov 18,2019 11:25 AM UTC | JavaScript - EJ 2 | 1 |
![]() |
Tags: Diagram |
Hi,
We prepared example project to explain issue that we found.
Problem:
When we try to create connector directly from shapes port to another port of different shape, there is no events raised.
More details are expalined inside example project with pictures.
collectionChange: function(args) {
if(args.state !== 'Changed') return;
var obj = args.element;
if (obj instanceof ej.diagrams.Node) {
var pId = obj.parentId;
console.log('Event: collectionChange', "id: [" + obj.id + "]", "parentId: [" + pId + "]");
}
if(obj instanceof ej.diagrams.Connector) {
var pId = obj.parentId;
console.log('Event: collectionChange', "id: [" + obj.id + "]", "parentId: [" + pId + "]");
}
}, |
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.