Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Async Arrange method? (Read 2170 times)
dandzina
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 1
Joined: Jul 24th, 2008
Async Arrange method?
Jul 24th, 2008 at 1:30pm
Print Post  
We are generating realitively complicated diagrams that seem to be best automatically layed out by the anneal layout.

This layout operation, using just the default iterations/stages, can takes as long as several minutes on some machines.

We have been able to monitor progress by opening another dialog on a seperate thread to handle progress callbacks, however the main app goes to the wpf all-black screen/unresponsive.

Is there any way to monitor progress on the foreground/main window and actually offload the Arrange logic to another thread?  I was considering creating another instance of the whole diagram in another hidden window on a sepeareate thread and using the xml serialziation to send/bring back the diagram.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Async Arrange method?
Reply #1 - Jul 25th, 2008 at 11:01am
Print Post  
You might check how SpringLayout and AnnealLayout animation works in FlowChart.NET V5.1, which we released last week (see the SpringLayout sample project). Animated versions of these layout classes will also be available in WpfDiagram in its next version.

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