Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Need to select the multiple node of diagram. (Read 1487 times)
Ankur shah
Junior Member
**
Offline


I Love MindFusion!

Posts: 63
Joined: Mar 16th, 2017
Need to select the multiple node of diagram.
Jul 6th, 2018 at 7:40am
Print Post  
Hi

I have a requirement that i need to select the multiple node from a diagram and get the list of node that we have selected.
How can we achieve this?
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3153
Joined: Oct 19th, 2005
Re: Need to select the multiple node of diagram.
Reply #1 - Jul 6th, 2018 at 10:35am
Print Post  
Hi,

You can select multiple nodes using Control + click or Control + drag. Some Behavior values also let you draw selection lasso without holding down the Control key. You can find the selected nodes via diagram.selection.nodes array.

Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
Ankur shah
Junior Member
**
Offline


I Love MindFusion!

Posts: 63
Joined: Mar 16th, 2017
Re: Need to select the multiple node of diagram.
Reply #2 - Jul 6th, 2018 at 10:44am
Print Post  
Thanks for your reply

As i have created custom node via Update visuals. Do i need to set any flag to select multiple or is it by default?
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3153
Joined: Oct 19th, 2005
Re: Need to select the multiple node of diagram.
Reply #3 - Jul 6th, 2018 at 1:05pm
Print Post  
The type of nodes shouldn't matter. If multiple-selection is not working for you, verify your code isn't assigning false to the diagram.selection.allowMultipleSelection flag.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint