The InteractiveOrganicLayouter is a special organic layouter that offers functionality to change the laid out graph while the layouter is running.

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

Syntax

C#
public class InteractiveOrganicLayouter : ILayouter
Visual Basic
Public Class InteractiveOrganicLayouter _ Implements ILayouter

Remarks

The InteractiveOrganicLayouter is a special organic layouter that offers functionality to change the laid out graph while the layouter is running. This layouter may be used in a threaded environment. The read-access GetCenter(Node) does not have to be synchronized. The setters (e.g. SetCenter(Node, Double, Double) ) are scheduled and executed at a specific point within the life-cycle of the layouter. If a CopiedLayoutGraph is being laid out, structural changes (node and edge additions/removals) in the original graph are automatically scheduled and executed on the copy. The method [!:yWorks.yFiles.Layout.Organic.InteractiveOrganicLayouter.AddStructureUpdate(yWorks.yFiles.Util.IRunnable)] may be used to schedule a Runnable that is executed in a synchronized context and may safely update the structure of the graph. The layouter can also run in a single-threaded mode that is provided by a StartLayoutSingleThreaded(LayoutGraph) single threaded context}. The InteractiveOrganicLayouter..::..ISingleThreadContext provides methods to control layout calculation.

Inheritance Hierarchy

System..::..Object
  yWorks.yFiles.Layout.Organic..::..InteractiveOrganicLayouter

See Also