Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Problem with diagram.alignToGrid (Read 1994 times)
Bala
Full Member
***
Offline


I love YaBB 1G - SP1!

Posts: 156
Joined: Apr 21st, 2009
Problem with diagram.alignToGrid
Jul 21st, 2009 at 7:13am
Print Post  
Hi Stoyan,

I have some nodes and links in my application. When I set diagram.alignToGrid = true, nodes get aligned to grid and on moving them they move from cell to cell.

I want, after diagram.alignToGrid, node should aligned but when I move them using mouse, there movement should be free(not from cell to cell) and when I drop them into the diagram they should be aligned to their corresponding cell.

Please help us to solve this problem.

Thanks,
Bala
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Problem with diagram.alignToGrid
Reply #1 - Jul 21st, 2009 at 12:00pm
Print Post  
You could disable the AlignToGrid property and use the AlignPointtoGrid method to align the nodes in response to Modified / Created events.

Stoyan
  
Back to top
 
IP Logged
 
Bala
Full Member
***
Offline


I love YaBB 1G - SP1!

Posts: 156
Joined: Apr 21st, 2009
Re: Problem with diagram.alignToGrid
Reply #2 - Jul 22nd, 2009 at 11:48am
Print Post  
Thanks Stoyan Smiley
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint