This class delegates its layout calls to a core layout algorithm that is dynamically chosen at runtime by inspecting the nodes of the input graph.

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

Syntax

C#
public class LayoutMultiplexer : AbstractLayoutStage
Visual Basic
Public Class LayoutMultiplexer _ Inherits AbstractLayoutStage

Remarks

This class delegates its layout calls to a core layout algorithm that is dynamically chosen at runtime by inspecting the nodes of the input graph.

If a data provider is registered with the given graph using the look-up key LayouterDpKey it is used to retrieve the ILayouter objects that are stored for the graph's nodes. If no such data provider is registered, this layout stage's core layouter (if any) is used for layout calculation of all nodes.
Note that the first non-nullNothingnullptra null reference (Nothing in Visual Basic) Layouter retrieved from the data provider is used for all nodes.

The main purpose of this class is to enable the use of individual layout algorithms for components (when used as the core layouter of class ComponentLayouter ) or for the contents of group nodes (when used as the core layouter of class RecursiveGroupLayouter ).

Inheritance Hierarchy

System..::..Object
  yWorks.yFiles.Layout..::..AbstractLayoutStage
    yWorks.yFiles.Layout..::..LayoutMultiplexer

See Also