The assistant placer is a NodePlacer that delegates the node placement to two different node placers depending on the type of the children.
The type of a child is recognized using a DataProvider providing boolean values.

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

Syntax

C#
public class AssistantPlacer : AbstractRotatableNodePlacer
Visual Basic
Public Class AssistantPlacer _ Inherits AbstractRotatableNodePlacer

Remarks

The assistant placer is a NodePlacer that delegates the node placement to two different node placers depending on the type of the children.
The type of a child is recognized using a DataProvider providing boolean values. The data provider is registered using the key AssistantDpKey .
Assistant placer uses a LeftRightPlacer for those nodes the DataProvider returns true (they are understood as "assistants").
Below the assistants the other children are arranged using the childNodePlacer (settable using ChildNodePlacer ).

Assistant placer provides the best results when using a port assignment that starts all edges at the same node. If the ports are distributed at the border, edge crossings may occur.

Inheritance Hierarchy

System..::..Object
  yWorks.yFiles.Layout.Tree..::..AbstractRotatableNodePlacer
    yWorks.yFiles.Layout.Tree..::..AssistantPlacer

See Also