Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Aligning nodes (Read 1292 times)
Naganathan
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 22
Joined: Jun 14th, 2010
Aligning nodes
Dec 9th, 2010 at 6:56am
Print Post  
Hi,
We want to align the diagram nodes based on a primary selection.Currently we are using Diagram.Selection.Items.FirstOrDefault() as the primary item and aligning the other nodes with reference to this primary node.But the problem is we want the first selected node to be considered as primary.But if we take the first item from the Diagram.Selection.Items,its changing randomly.Means we are not able to get the primary selection.Is that any way to do this?

Thanks,.
Naganathan NS
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Aligning nodes
Reply #1 - Dec 9th, 2010 at 8:20am
Print Post  
Hi,

Diagram.ActiveItem designates the primary selected item, and you can customize ActiveItemHandlesStyle to make it stand out among the others.

Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint