This class encapsulates layout data for a label.
Namespace: yWorks.yFiles.LayoutAssembly: yWorks.yFilesSilverlight.Algorithms (in yWorks.yFilesSilverlight.Algorithms.dll) Version: 2.1.0.2
Syntax
| C# |
|---|
public class LabelLayoutData |
| Visual Basic |
|---|
Public Class LabelLayoutData |
Remarks
This class encapsulates layout data for a label. The data is used
by clients to inform label aware layouters about labeling constraints like label size and
preferred placement. Label aware layouters like
HierarchicLayouter
on the other hand return the calculated label positions by assigning the
corresponding bounds to the passed in label layout data.
Data providers are being used to associate an array of LabelLayoutData with either
the nodes or the edges of a layout graph. The data providers must be registered with the
input graph by using one of the keys defined in
LabelLayoutKeys
.
Inheritance Hierarchy
System..::..Object
yWorks.yFiles.Layout..::..LabelLayoutData
yWorks.yFiles.Layout..::..LabelLayoutData