documentationfor yFiles for HTML 2.6

Properties

edgeLabelPreferredPlacementin HierarchicLayoutDataGets or sets the mapping that provides a PreferredPlacementDescriptor instance for edge ILabels.
edgeLabelPreferredPlacementin LabelingDataGets or sets the mapping that provides a PreferredPlacementDescriptor instance for edge ILabels.
preferredPlacementDescriptorin IEdgeLabelLayoutGets the preferred placement for this edge label, which can be considered by layout algorithms.
preferredPlacementDescriptorin LabelLayoutDataGets or sets the preferred placement of this label.
edgeLabelPreferredPlacementin OrganicLayoutDataGets or sets the mapping that provides a PreferredPlacementDescriptor instance for edge ILabels.
edgeLabelPreferredPlacementin OrthogonalLayoutDataGets or sets the mapping that provides a PreferredPlacementDescriptor instance for edge ILabels.
edgeLabelPreferredPlacementin CurveRoutingStageDataGets or sets the mapping that provides a PreferredPlacementDescriptor instance for edge ILabels.
edgeLabelPreferredPlacementin EdgeRouterDataGets or sets the mapping that provides a PreferredPlacementDescriptor instance for edge ILabels.
edgeLabelPreferredPlacementin SeriesParallelLayoutDataGets or sets the mapping that provides a PreferredPlacementDescriptor instance for edge ILabels.
edgeLabelPreferredPlacementin BalloonLayoutDataGets or sets the mapping that provides a PreferredPlacementDescriptor instance for edge ILabels.
edgeLabelPreferredPlacementin TreeLayoutDataGets or sets the mapping that provides a PreferredPlacementDescriptor instance for edge ILabels.

Method Return Values

createNonAmbiguous (PreferredPlacementDescriptor)in EdgeLabelOrientationSupportCreates and returns a non-ambiguous PreferredPlacementDescriptor of the given potentially ambiguous one.
fromModel (ILabelModel)in PreferredPlacementDescriptorReturns a PreferredPlacementDescriptor which matches positions supported by the given labelModel.
fromParameter (ILabelModelParameter)in PreferredPlacementDescriptorReturns a PreferredPlacementDescriptor which matches the given parameter best.
newSharedInstance (LabelPlacements)in PreferredPlacementDescriptorReturns an immutable descriptor instance for the specified placement.

Method Parameters

HierarchicLayoutData ()in HierarchicLayoutDataCreates a new instance of HierarchicLayoutData which helps configuring HierarchicLayout.
LabelingData ()in LabelingDataCreates a new instance of LabelingData which helps configuring GenericLabeling.
createNonAmbiguous (PreferredPlacementDescriptor)in EdgeLabelOrientationSupportCreates and returns a non-ambiguous PreferredPlacementDescriptor of the given potentially ambiguous one.
getEdgeLabelUpVector (PreferredPlacementDescriptor, Direction)in EdgeLabelOrientationSupportCalculates 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.
createLabelLayout (Edge, YOrientedRectangle, IEdgeLabelLayoutModel, PreferredPlacementDescriptor)in ILabelLayoutFactoryCreates a new ILabelLayout for the given edge.
LabelLayoutData (YOrientedRectangle, PreferredPlacementDescriptor?)in LabelLayoutDataCreates a new instance of LabelLayoutData for a label with the given oriented box and preferred placement descriptor.
PreferredPlacementDescriptor (PreferredPlacementDescriptor)in PreferredPlacementDescriptorCreates a new PreferredPlacementDescriptor instance that copies the given descriptor.
OrganicLayoutData ()in OrganicLayoutDataCreates a new instance of OrganicLayoutData which helps configuring OrganicLayout.
OrthogonalLayoutData ()in OrthogonalLayoutDataCreates a new instance of OrthogonalLayoutData which helps configuring OrthogonalLayout.
CurveRoutingStageData ()in CurveRoutingStageDataCreates a new instance of CurveRoutingStageData which helps configuring the CurveRoutingStage.
EdgeRouterData ()in EdgeRouterDataCreates a new instance of EdgeRouterData which helps configuring EdgeRouter.
SeriesParallelLayoutData ()in SeriesParallelLayoutDataCreates a new instance of SeriesParallelLayoutData which helps configuring SeriesParallelLayout.
BalloonLayoutData ()in BalloonLayoutDataCreates a new instance of BalloonLayoutData which helps configuring BalloonLayout.
TreeLayoutData ()in TreeLayoutDataCreates a new instance of TreeLayoutData which helps configuring TreeLayout.