Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic the link in the center of the node (Read 1001 times)
Hamdy Ghanem
Full Member
***
Offline


I love YaBB 1G - SP1!

Posts: 110
Location: Egypt
Joined: Mar 11th, 2009
the link in the center of the node
Jun 6th, 2009 at 9:45am
Print Post  
I have a class inherited from shape node
when i make a link between two nodes
the link begin from the center of the node to the center of the other

what property i missed to make the link only from the edge of the node not in the center

[img]http://hamdy.ghanem.googlepages.com/diagram.PNG[/img]
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: the link in the center of the node
Reply #1 - Jun 7th, 2009 at 8:21am
Print Post  
Have these links been drawn by hand or created programmatically? Does you class override any methods of the base ShapeNode? In such a case, make sure you call the base implementation, or otherwise the code that aligns the links might not be executed. Also, does your class set the AnchorPattern or Shape properties?

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