documentationfor yFiles for HTML 2.6

Usages of LabelLayoutData

Method Parameters

markPortLabelForFallbackPlacement (LabelLayoutData)in EdgeLabelOrientationSupportMarks the given port label for a non-port placement (fallback).
postProcessLabel (Graph, LabelLayoutData)in EdgeLabelOrientationSupportRestores the original preferred placement and updates the label rotation according to the layout orientation.
preProcessLabel (Graph, LabelLayoutData, Direction)in EdgeLabelOrientationSupportPrepares the label for the core layout algorithm.
updateLabelOrientation (LabelLayoutData, Direction)in EdgeLabelOrientationSupportCalculates and sets the up vector of an edge label considering the preferred placement of the label as well as the direction of the edge segment the label is attached to.