documentationfor yFiles for HTML 2.6

Properties

candidateMaskin DiscreteNodeLabelLayoutModelGets the candidate mask which specifies the valid positions for node labels.

Method Parameters

DiscreteNodeLabelLayoutModel (DiscreteNodeLabelPositions, number?, )in DiscreteNodeLabelLayoutModelCreates a new instance of DiscreteNodeLabelLayoutModel using the given candidate mask and insets.
getLabelPlacementForPosition (YDimension, INodeLayout, DiscreteNodeLabelPositions)in DiscreteNodeLabelLayoutModelReturns the oriented box of the label for the given label position.
from (DiscreteNodeLabelPositions)in DiscreteNodeLabelPositionsConverts the argument to DiscreteNodeLabelPositions.