Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic FlowChart.NET 5.3.1 Arrows messed (Read 2315 times)
Vivekagarwal
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 6
Joined: Aug 5th, 2009
FlowChart.NET 5.3.1 Arrows messed
Aug 18th, 2009 at 3:33pm
Print Post  
I am in process of upgrading to FlowChart.NET 5.3.1. I have a schematics screen where screen shows radial layout based on "In" and "Out" source. The arrows were working fine with FlowChart.NET old version and was showing correct flow but after I upgraded to new version. screen is messed up. All child nodes are displayed at top of the screen which doesn't look into the correct layout. Here is the code where I am changing Parent and child for show IN and OUT arrows. Can you help me how to keep nodes in correct layout.


               Dim Arrow As DiagramLink
               If flowDir = "INPUT" Or flowDir = "INPUT_CHECK" Then
                   Arrow = flowchart.Factory.CreateDiagramLink(childBox, parentBox)
               ElseIf flowDir = "OUTPUT" Or flowDir = "OUTPUT_CHECK" Then
                   Arrow = flowchart.Factory.CreateDiagramLink(parentBox, childBox)
               Else
                   Arrow = flowchart.Factory.CreateDiagramLink(childBox, parentBox)
               End If
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: FlowChart.NET 5.3.1 Arrows messed
Reply #1 - Aug 18th, 2009 at 4:13pm
Print Post  
Could you email us a sample diagram of yours saved as xml file?
  
Back to top
 
IP Logged
 
Vivekagarwal
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 6
Joined: Aug 5th, 2009
Re: FlowChart.NET 5.3.1 Arrows messed
Reply #2 - Aug 18th, 2009 at 4:41pm
Print Post  
I sent you an email with details.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: FlowChart.NET 5.3.1 Arrows messed
Reply #3 - Aug 18th, 2009 at 5:17pm
Print Post  
What does your layout code look like? If you have links pointing in both directions, you should set the TreeLayout.IgnoreLinkDirection property and specify which node is TreeLayout.Root - have you done that?
  
Back to top
 
IP Logged
 
Vivekagarwal
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 6
Joined: Aug 5th, 2009
Re: FlowChart.NET 5.3.1 Arrows messed
Reply #4 - Aug 18th, 2009 at 5:36pm
Print Post  
Ok, that worked. Thanks for all your help.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint