Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Resize constrains on Node or Diagram (Read 4218 times)
rajesh_patil74
Full Member
***
Offline


I love YaBB 1G - SP1!

Posts: 220
Joined: Sep 3rd, 2009
Resize constrains on Node or Diagram
May 17th, 2011 at 8:40am
Print Post  
Hi Stoyo

Is it possible to put following constrain on all nodes thro' Diagram control or on individual node in next version of diagram lite control ( i am aware that it can be controlled thro' interaction or by handling some events) -

Whenever user resizes the nodes using bottom-right corner (adjustment handle) and moves the cursor beyound the top-left corner, it should not reverse the co-ordinates ... ( Same thing should be possible when other adjustment handles are chosen)

-Rajesh
  
Back to top
WWW  
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Resize constrains on Node or Diagram
Reply #1 - May 17th, 2011 at 9:17am
Print Post  
Hi Rajesh,

Yes, we have the DisableMirroring property in the WpfDiagram's NodeConstraints and can implement it in Silverlight for next release. If you were using the WPF version too, perhaps check if it's exactly what you need - it disables reversing a node by dragging any of its handles over their opposite node side.

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


I love YaBB 1G - SP1!

Posts: 220
Joined: Sep 3rd, 2009
Re: Resize constrains on Node or Diagram
Reply #2 - May 17th, 2011 at 9:39am
Print Post  
Hi Stoyo

Ya. I need same constrain in silverlight also.

-Rajesh
  
Back to top
WWW  
IP Logged
 
rajesh_patil74
Full Member
***
Offline


I love YaBB 1G - SP1!

Posts: 220
Joined: Sep 3rd, 2009
Re: Resize constrains on Node or Diagram
Reply #3 - May 18th, 2011 at 12:30pm
Print Post  
Hi Stoyo

One more minor request, I think can be added in next release of library -

Whenever user moves the cursor to adjustment handle, cursor gets changed according to the adjustment handle pressed but as user moves the mouse, the cursor gets changed to "Default" cursor.

Expected thing is - the cursor should remain the one until mouse button is released.

-Rajesh
  
Back to top
WWW  
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Resize constrains on Node or Diagram
Reply #4 - May 24th, 2011 at 6:12am
Print Post  
Hi Rajesh,

This version implements the new constraint and mouse cursors behavior:
https://mindfusion.eu/_beta/diaglite_constraints.zip

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
rajesh_patil74
Full Member
***
Offline


I love YaBB 1G - SP1!

Posts: 220
Joined: Sep 3rd, 2009
Re: Resize constrains on Node or Diagram
Reply #5 - Jun 28th, 2011 at 5:22am
Print Post  
Hi Stoyo

In new version, mouse cursor on adjustment handle gets changed and remain as it is until mouse up event.

Above expectation works well when single node is selected. With multiple node resizing the cursor gets changed to "Arrow" instead of accoding the adjusment handle.
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint