Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Async layout methods (Read 1184 times)
Slavcho
YaBB Moderator
*****
Online


tech.support

Posts: 3148
Joined: Oct 19th, 2005
Async layout methods
Jun 26th, 2017 at 6:43am
Print Post  
We have implemented async ArrangeAsync methods in all graph layout classes.

Code
Select All
async void OnLayoutLayered(object sender, EventArgs e)
{
	var layout = new LayeredLayout();
	await layout.ArrangeAsync(diagram);

	diagramView.ZoomToFit();
} 



If anyone is interested in trying a pre-release build, please find updated .NET 4.5 assemblies here -
https://mindfusion.eu/_beta/fcnet_async.zip
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint