Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Negative Coordinates (Read 1649 times)
38Mikes
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 8
Joined: Dec 8th, 2015
Negative Coordinates
Feb 22nd, 2017 at 10:14pm
Print Post  
I'm having a few issues related to negative coordinates on the diagram.  I am able to create nodes in negative terrain (ie, negative in the X or Y or both X and Y quadrants), but I cannot move them.  If I grab a node and drag it to another position, it will move while I'm holding down the mouse button, but if the final resting place is in a quadrant with a negative axis after letting up the mouse it will just snap back to previous location before moving it.  I also have the problem that when I add nodes to the negative space the scroll bars don't appear on the view box.  But scroll bars do appear if I add things in the positive quadrant...
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3148
Joined: Oct 19th, 2005
Re: Negative Coordinates
Reply #1 - Feb 23rd, 2017 at 8:16am
Print Post  
Set Digram.Bounds to a rectangle that includes the coordinates you intend to use, e.g. new RectangleF(-400, -400, 800, 800).  To let users draw new nodes outside of that area and automatically adjust the scroll range, set AutoResize to AllDirections.

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