Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic FlowLayout errors (Read 1529 times)
GizmoHd
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 8
Joined: Sep 18th, 2007
FlowLayout errors
Oct 26th, 2007 at 1:22pm
Print Post  
I am getting the following error when I attempt to Layout a diagram.   I am using the latest (5.0.1) release.

Any ideas why I am receiving this error?



System.NullReferenceException occurred
  Message="Object reference not set to an instance of an object."
  Source="MindFusion.Diagramming"
  StackTrace:
      at MindFusion.Layout.FlowLayout.x32e6c99218cd9b93(INode x9677d457a707cd1a, ArrayList x3741672320b0ef76, ArrayList x37abf483b0e563d3, Int32 x32dce50116aa0f1e)
      at MindFusion.Layout.FlowLayout.x64a653004f59eb4b(INode x9677d457a707cd1a, ArrayList xd39ce2ca5d1a54f4, ArrayList x71d387918615121f)
      at MindFusion.Layout.FlowLayout.x3eb9275793831033(Group x215b699370f39c10, Single xd3bc0f0d4d26e239, Single x53f5947c5fc02c0a)
      at MindFusion.Layout.FlowLayout.x245523a22d2473bd()
      at MindFusion.Layout.FlowLayout.Arrange(IGraph iGraph, FlowLayoutInfo fInfo, Boolean chngLaneDmnsns, LayoutProgress progress)
      at MindFusion.Diagramming.Layout.FlowLayout.Arrange(Diagram diagram, DiagramItemCollection objects, RectangleF[] laneBorders)
      at MindFusion.Diagramming.Layout.FlowLayout.Arrange(Diagram diagram)
      at FileLogix.WorkFlow.frmWorkFlow.ReArrange() in C:\Documents and Settings\dmcdaniel\Desktop\VFC Desktop 2.new\VFC Desktop 2.0\VFC Desktop 2.0\VFC Desktop 2.0\FileLogix.WorkFlow\frmWorkFlow.vb:line 908
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: FlowLayout errors
Reply #1 - Oct 26th, 2007 at 3:06pm
Print Post  
The FlowLayout class expects that you assign some logic identifiers to nodes and/or links, and define rules for how to position pairs of nodes relatively one to another, based on their IDs. Have you done that? For an example, see the FlowLayout and ProcessLayout sample projects.

Stoyan
  
Back to top
 
IP Logged
 
GizmoHd
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 8
Joined: Sep 18th, 2007
Re: FlowLayout errors
Reply #2 - Oct 26th, 2007 at 3:37pm
Print Post  
Thanks.. That was exactly what it was.. i forgot to add the logic information to the nodes..
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint