This class can be used to improve the results of different drawers.

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

Syntax

C#
public class MedianDrawerWrapper : IDrawer
Visual Basic
Public Class MedianDrawerWrapper _ Implements IDrawer

Remarks

This class can be used to improve the results of different drawers. It is designed as a wrapper to another drawer (especially SimplexDrawer). It will insert additional dummy nodes for each node that has an even number of incoming edges or outgoing edges. Dummy nodes will be inserted in the neighbor layer at the center of the other edges' opposite nodes.

Inheritance Hierarchy

System..::..Object
  yWorks.yFiles.Layout.Hierarchic..::..MedianDrawerWrapper

See Also