Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Nodes are placed on top of each other when using v6.0.2 of MindFusion.Diagramming.FlowLayout (Read 1299 times)
farshid
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 3
Location: london
Joined: Jun 6th, 2013
Nodes are placed on top of each other when using v6.0.2 of MindFusion.Diagramming.FlowLayout
Nov 19th, 2013 at 3:13pm
Print Post  
Hi

I have recently updated the mindfusion dll to use the latest version and now my graphs are broken. I use to be able to render the graph using FlowLayout however now it renders all node on top of each other. Below is my code:

dim layout = New FlowLayout
layout.HorizontalGroupOffset = 35
layout.VerticalGroupOffset = 35
layout.NodeDistance = 30
layout.Margins = SizeF.Empty
layout.AutoRoute = True
layout.RecreateGraph = True

Dim rules As FlowLayoutRules = layout.LayoutRules
rules.PreferredRules = PreferredRules.ConnectorRules
rules.ConnectorRules.DownOriented = New String() {"ControlFlow", "Down"}
rules.ConnectorRules.RightOriented = "False"
rules.ConnectorRules.HorizontalBendOrientation = False

layout.Arrange(diagram)
diagram.ResizeToFitItems(5)

This is very urgent so I would very much appreciate your help.

Kind regards,
Farshid
  

Nodes.png (Attachment deleted)
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Nodes are placed on top of each other when using v6.0.2 of MindFusion.Diagramming.FlowLayout
Reply #1 - Nov 19th, 2013 at 6:13pm
Print Post  
Please attach the diagram saved as xml file. What version of the control were you using last?
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint