Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Boxes outside the flowcharts visible area? (Read 3353 times)
simondk
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 21
Joined: Nov 15th, 2006
Boxes outside the flowcharts visible area?
Nov 15th, 2006 at 12:39pm
Print Post  
Hello!

Ive downloaded the demo of FlowChart.NET,
and im trying to create an ER-diagram (database entity relations) of Box' and arrows..

For my testing i got a db with 260 tables and about 300 foreign keys.

At first i inserted all of the tables at 0,0 thinking that since the gridlayout shuffles node placement, it wouldnt make a difference. After trying that with several different iterationcount sets i tried running through the fc's boxes and placing them in the middle.. This helped a little, but now it seems that the algorithm favorites placing boxes right and down, which gives me a large whitespace in the upper and left area... well i can live with that... But i dont understand what im doing wrong, cause my boxes sometimes (almost always actually) are placed outside of the set docextends.. why is this ?
and how do i correct it.. ?

I hope i was clear enough in describing my problem, the product seems to have many interesting features, but before we buy it we need to know if it will do the trick Smiley

Compilation time is about 3-4 minutes, which is fine, cause we can run it in a different thread while a very large amount of data is read in another.


I have another problem too, how do i make the flowchart not editable ? i can of course set the enabled=false, but that disabled my scrollbars aswell, and i need those...


Thanks in advance for your time guys !

-Simon, Denmark.
  
Back to top
 
IP Logged
 
Phil Jacques
Junior Member
**
Offline


.NET 2.0 Rocks!!!

Posts: 70
Joined: Oct 20th, 2006
Re: Boxes outside the flowcharts visible area?
Reply #1 - Nov 15th, 2006 at 12:55pm
Print Post  
Check the Locked property of Chartobject class. Maybe that would help your non editable problem.

Phil
  
Back to top
 
IP Logged
 
simondk
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 21
Joined: Nov 15th, 2006
Re: Boxes outside the flowcharts visible area?
Reply #2 - Nov 15th, 2006 at 1:02pm
Print Post  
Quote:
Check the Locked property of Chartobject class. Maybe that would help your non editable problem.

Phil



Hi!
I tried that one already - it had no effect  ???

Thanks
-Simon
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Boxes outside the flowcharts visible area?
Reply #3 - Nov 15th, 2006 at 1:10pm
Print Post  
Hi,

Set FlowChart.Behavior = DoNothing to prevent users from modifying the diagram. The scrollbars should remain usable.

After applying a layout, call FitDocToObjects to enlarge the document so that it fits all boxes.

Also try this version of the control: https://mindfusion.org/_beta/gridlt.zip

and set GridLayout.UseLongestPath = false. That should improve the layout speed.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
simondk
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 21
Joined: Nov 15th, 2006
Re: Boxes outside the flowcharts visible area?
Reply #4 - Nov 15th, 2006 at 1:43pm
Print Post  
Stoyo wrote on Nov 15th, 2006 at 1:10pm:
Hi,

Set FlowChart.Behavior = DoNothing to prevent users from modifying the diagram. The scrollbars should remain usable.

After applying a layout, call FitDocToObjects to enlarge the document so that it fits all boxes.

Also try this version of the control: https://mindfusion.org/_beta/gridlt.zip

and set GridLayout.UseLongestPath = false. That should improve the layout speed.

I hope that helps,
Stoyan



The behavior and FitDocToObjects worked very well ! thanks for that, but i cant seem to call
UseLongestPath on my gridlayout object, nor on the GridLayout class, what did i miss ?

Thanks a lot for your help !
-Simon
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Boxes outside the flowcharts visible area?
Reply #5 - Nov 15th, 2006 at 1:57pm
Print Post  
Probably the project still uses the old version of the dll? Check the reference property page - it shows the path where the compiler looks for the FlowChart.NET assembly. Overwrite the dll in that path with the one from the zip.

Stoyan
  
Back to top
 
IP Logged
 
simondk
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 21
Joined: Nov 15th, 2006
Re: Boxes outside the flowcharts visible area?
Reply #6 - Nov 15th, 2006 at 1:58pm
Print Post  
Stoyo wrote on Nov 15th, 2006 at 1:57pm:
Probably the project still uses the old version of the dll? Check the reference property page - it shows the path where the compiler looks for the FlowChart.NET assembly. Overwrite the dll in that path with the one from the zip.

Stoyan



... your right Smiley
Thanks
-Simon
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint