Creates a context object that provides methods to continue and stop the layout calculation.

Namespace: yWorks.yFiles.Layout.Organic
Assembly: yWorks.yFilesSilverlight.Algorithms (in yWorks.yFilesSilverlight.Algorithms.dll) Version: 2.4.0.0

Syntax

C#
public virtual InteractiveOrganicLayouter..::..ISingleThreadContext StartLayoutSingleThreaded( LayoutGraph graph )
Visual Basic
Public Overridable Function StartLayoutSingleThreaded ( _ graph As LayoutGraph _ ) As InteractiveOrganicLayouter..::..ISingleThreadContext

Parameters

graph
Type: yWorks.yFiles.Layout..::..LayoutGraph
the graph that gets layouted.

Return Value

the context object to control layout calculation.

Remarks

Creates a context object that provides methods to continue and stop the layout calculation. Note that simply calling this method will not perform any layout. Repeated calls to DoLayout(Int64) need to be made in order for the layout calculation to be performed.

See Also