Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Circular links + expandable bug (Read 2064 times)
baron
YaBB Newbies
*
Offline


1001001001

Posts: 42
Joined: Dec 2nd, 2007
Circular links + expandable bug
Dec 2nd, 2007 at 2:06pm
Print Post  
Say you have arrows linking A->B->C->A where A is the same Box it started with (i.e. total of 3 boxes)
Now make Box A expandable and collapse it.
Result: Box A disappears!

I understand the circular linking causes this but a box should never disappear from the chart permanently. The code should probably check that the originating box which started the expansion doesn't close?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Circular links + expandable bug
Reply #1 - Dec 3rd, 2007 at 8:22am
Print Post  
At this time the expand/collapse feature works only with tree-like graphs. You can implement your own expand/collapse logic by setting FlowChart.EventFlags[fOverrideTreeExpanding] and handling BoxExpanded and BoxCollapsed. The built-in collapse function just hides the boxes (box.Visible = false), so you could do the same in your event handlers.

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