Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Container node selection issue. (Read 1383 times)
Ankur shah
Junior Member
**
Offline


I Love MindFusion!

Posts: 63
Joined: Mar 16th, 2017
Container node selection issue.
Jul 25th, 2019 at 10:43am
Print Post  
We are diagram which many container node. Now we are facing issue with selection let me explain you step by step.

Suppose there two container node named 1 and 2 and these container node are like attached image. we select and children node in one of the container node it selects the container node container first then on second click it select the child node is this the default behavior provided by mind fusion.

What can we do, if we need to select the child node directly?
« Last Edit: Jul 26th, 2019 at 6:19am by Ankur shah »  
Back to top
 
IP Logged
 
Lyubo
God Member
*****
Offline


MindFusion team

Posts: 511
Joined: Jun 17th, 2010
Re: Container node selection issue.
Reply #1 - Jul 25th, 2019 at 1:19pm
Print Post  
Hi,

This is not the default behavior of the Diagram control and this issue is probably caused by something you do in your application. Are you selecting nodes by some custom logic in a click handler for example? You can check if a node is a child of a container by calling the node.getContainer() method. To get nodes at the pointer location, you can use the diagram.getNodesAt method.

You can also send us a sample that reproduces the issue, so we can investigate.

Regards,
Lyubo
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint