Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Start & End Orientation (Read 1499 times)
Exo
YaBB Newbies
*
Offline



Posts: 7
Joined: Aug 5th, 2008
Start & End Orientation
Aug 12th, 2008 at 2:19pm
Print Post  
Hi,

Can anyone help me with the following problem.
I am currently evaluating the pro version and am working on using the RoutingOptions class. I have a requirement that from each of my boxes the arrow should both start and end horizontally to make sure the drawing looks good visually. I have the following code setup.

FlowChart1.RouteArrows = True
FlowChart1.RoutingOptions.TriggerRerouting = raWhileCreating + raWhenModified
FlowChart1.RoutingOptions.EndOrientation = soHorizontal
FlowChart1.RoutingOptions.StartOrientation = soHorizontal
FlowChart1.RoutingOptions.Anchoring = ancKeep
FlowChart1.ArrowStyle = asPerpendicular

The problem is that the horizontal routing just does not work properly at the start and end of the arrow. It always tries to draw it vertically for some reason?

Any ideas what I am doing wrong? Is it because I am forcing the arrow to an anchor point?

Thanks
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3154
Joined: Oct 19th, 2005
Re: Start & End Orientation
Reply #1 - Aug 12th, 2008 at 2:33pm
Print Post  
Set FlowChart1.RoutingOptions.NodeVicinityCost = 100. If that doesnt help, please email the saved flowchart to support@mindfusion.eu.

10x
  
Back to top
 
IP Logged
 
Exo
YaBB Newbies
*
Offline



Posts: 7
Joined: Aug 5th, 2008
Re: Start & End Orientation
Reply #2 - Aug 12th, 2008 at 2:42pm
Print Post  
Thanks glavcho that works perfect!  Smiley
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint