documentationfor yFiles for HTML 3.0.0.3

Usages of ILabel

Properties

labelsin FilteredGraphWrapper
labelsin Graph
labelsin GraphWrapperBase
edgeLabelsin IGraphGets a live view of all edge labels contained in this IGraph.
labelsin IGraphGets a view of the labels contained in this graph.
nodeLabelsin IGraphGets a live view of all node labels contained in this IGraph.
portLabelsin IGraphGets a live view of all port labels contained in this IGraph.
labelsin ILabelOwnerGets a collection of labels that are owned by this instance.
clipboardHelperin LabelDecoratorGets a LookupDecorator<TDecoratedType,TInterface> that decorates the IClipboardHelper type for ILabels this instance has been created for.
editLabelHelperin LabelDecoratorGets a LookupDecorator<TDecoratedType,TInterface> that decorates the IEditLabelHelper type for ILabels this instance has been created for.
focusRendererin LabelDecoratorGets a LookupDecorator<TDecoratedType,TInterface> that decorates the IFocusRenderer<ILabel> type for ILabels this instance has been created for.
handleProviderin LabelDecoratorGets a LookupDecorator<TDecoratedType,TInterface> that decorates the IHandleProvider type for ILabels this instance has been created for.
highlightRendererin LabelDecoratorGets a LookupDecorator<TDecoratedType,TInterface> that decorates the IHighlightRenderer<ILabel> type for ILabels this instance has been created for.
labelModelParameterFinderin LabelDecoratorGets a LookupDecorator<TDecoratedType,TInterface> that decorates the ILabelModelParameterFinder type for ILabels this instance has been created for.
labelModelParameterProviderin LabelDecoratorGets a LookupDecorator<TDecoratedType,TInterface> that decorates the ILabelModelParameterProvider type for ILabels this instance has been created for.
lassoTestablein LabelDecoratorGets a LookupDecorator<TDecoratedType,TInterface> that decorates the ILassoTestable type for ILabels this instance has been created for.
marqueeTestablein LabelDecoratorGets a LookupDecorator<TDecoratedType,TInterface> that decorates the IMarqueeTestable type for ILabels this instance has been created for.
mementoSupportin LabelDecoratorGets a LookupDecorator<TDecoratedType,TInterface> that decorates the IMementoSupport type for ILabels this instance has been created for.
obstacleProviderin LabelDecoratorGets a LookupDecorator<TDecoratedType,TInterface> that decorates the IObstacleProvider type for ILabels this instance has been created for.
positionHandlerin LabelDecoratorGets a LookupDecorator<TDecoratedType,TInterface> that decorates the IPositionHandler type for the ILabels this instance has been created for.
selectionRendererin LabelDecoratorGets a LookupDecorator<TDecoratedType,TInterface> that decorates the ISelectionRenderer<ILabel> type for ILabels this instance has been created for.
snapReferenceProviderin LabelDecoratorGets a LookupDecorator<TDecoratedType,TInterface> that decorates the ISnapReferenceProvider type for ILabels this instance has been created for.
snapResultProviderin LabelDecoratorGets a LookupDecorator<TDecoratedType,TInterface> that decorates the ILabelSnapResultProvider type for ILabels this instance has been created for.
labelsin SimpleEdgeGets or sets the collection of labels that are owned by this instance.
labelsin SimpleNodeGets or sets the collection of labels that are owned by this instance.
labelsin SimplePortGets or sets the collection of labels that are owned by this instance.
editLabelHelperin StripeLabelDecoratorGets a LookupDecorator<TDecoratedType,TInterface> that decorates the IEditLabelHelper type for the ILabels this instance has been created for.
focusRendererin StripeLabelDecoratorGets a LookupDecorator<TDecoratedType,TInterface> that decorates the IFocusRenderer<ILabel> type for the type of items this instance has been created for.
highlightRendererin StripeLabelDecoratorGets a LookupDecorator<TDecoratedType,TInterface> that decorates the IHighlightRenderer<ILabel> type for the type of items this instance has been created for.
inputRendererin StripeLabelDecoratorGets a LookupDecorator<TDecoratedType,TInterface> that decorates the IStripeLabelInputRenderer type for the ILabels this instance has been created for.
labelModelParameterFinderin StripeLabelDecoratorGets a LookupDecorator<TDecoratedType,TInterface> that decorates the ILabelModelParameterFinder type for the ILabels this instance has been created for.
labelModelParameterProviderin StripeLabelDecoratorGets a LookupDecorator<TDecoratedType,TInterface> that decorates the ILabelModelParameterProvider type for the ILabels this instance has been created for.
selectionRendererin StripeLabelDecoratorGets a LookupDecorator<TDecoratedType,TInterface> that decorates the ISelectionRenderer<ILabel> type for the type of items this instance has been created for.
textEditorInputModeConfiguratorin EditLabelInputModeGets or sets a handler which allows for configuring the textEditorInputMode during adding or editing labels.
labelin LabelCandidateRenderTagGets the label that is being moved.
draggedItemin LabelDropInputModeGets the currently dragged IModelItem instance.
isValidLabelOwnerPredicatein LabelDropInputModeGets or sets the predicate for testing whether an existing label owner in the graph can be used as owner for the currently dragged label.
labelin LabelEditingEventArgsGets or sets the label to edit.
textEditorInputModeConfiguratorin LabelEditingEventArgsGets or sets the configurator for the TextEditorInputMode for editing the provided label instance.
labelin LabelPositionHandlerGets the label instance.
labelin LabelTextValidatingEventArgsGets the label that is being edited.
labelin StripeLabelInputRenderTagThe selected label.
labelPlacementPoliciesin LayoutExecutorGets or sets a mapping that specifies how ILabels should be placed by the layout algorithm.
layoutDatain LayoutExecutorGets or sets the layout data that is applied when starting the executor.
portLabelPoliciesin LayoutExecutorGets or sets how ILabels at IPorts should be treated by the layout algorithm.
labelEndBoundsin LayoutExecutorAsyncGets a mapping from labels in the LayoutGraph to their new layout, after the results are in.
labelEndParameterin LayoutExecutorAsyncGets a mapping from labels in the LayoutGraph to their new layout parameters, after the results are in.
labelPlacementPoliciesin LayoutExecutorAsyncGets or sets a mapping that specifies how ILabels should be placed by the layout algorithm.
layoutDatain LayoutExecutorAsyncGets or sets the layout data that is applied when starting the executor.
portLabelPoliciesin LayoutExecutorAsyncGets or sets how ILabels at IPorts should be treated by the layout algorithm.
labelPlacementPoliciesin LayoutGraphAdapterGets or sets a mapping that specifies how ILabels should be placed by the layout algorithm.
portLabelPoliciesin LayoutGraphAdapterGets or sets how ILabels at IPorts (owned by an INode) should be treated by the layout algorithm.
edgeLabelManagerin GraphModelManagerProvides access to the ItemModelManager<T> which handles the ILabels at edges.
edgeLabelRendererin GraphModelManagerGets or sets the IObjectRenderer<ILabel> instance used for installing an ILabel of an IEdge into the canvas.
nodeLabelManagerin GraphModelManagerProvides access to the ItemModelManager<T> which handles the ILabels at nodes.
nodeLabelRendererin GraphModelManagerGets or sets the IObjectRenderer<ILabel> instance used for installing an ILabel of an INode into the canvas.
portLabelManagerin GraphModelManagerProvides access to the ItemModelManager<T> which handles the ILabels at ports.
portLabelRendererin GraphModelManagerGets or sets the IObjectRenderer<ILabel> instance used for installing an ILabel of an IPort into the canvas.
labelsin IGraphSelectionGets an IObservableCollection<T> of the selected labels.

Fields

labelin LabelSnapReferenceProviderThe label this provider was created for.
ORIGINAL_EDGE_LABEL_DATA_KEYin LayoutGraphAdapterA data provider key that can be used to look up the original ILabel of an LayoutEdgeLabel.
ORIGINAL_NODE_LABEL_DATA_KEYin LayoutGraphAdapterA data provider key that can be used to look up the original ILabel of an LayoutNodeLabel.
DEFAULT_LABEL_RENDERERin GraphModelManagerThe immutable instance of the default IObjectRenderer<ILabel> for ILabels which simply defers to the label's ILabelStyle.

Method Return Values

addLabel (IGraph, ILabelOwner, TDataItem)in LabelCreatorAdds a label on the given ILabelOwner with the values of the bindings resolved against the dataItem.
addLabelCore (IGraph, ILabelOwner, string, ILabelModelParameter, ILabelStyle, Size, ILabel['tag'])in LabelCreatorCalled from addLabel and performs the actual label creation in the graph.
createLayoutData (IGraph?)in CircularLayoutReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the CircularLayout.
createLayoutData (IGraph?)in CompactDiskLayoutReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the CompactDiskLayout.
addLabel (ClipboardOperationContext, ILabelOwner, ILabel)in ClipboardGraphCopierAdds a label to the targetOwner in the targetGraph as a copy of the sourceLabel.
getIndependentLabels ()in ClipboardOperationContextGets the labels whose owners are not copied.
asLabel ()in FoldingLabelStateReturns an ILabel instance which represents this label state.
addLabel (ILabelOwner, string, ILabelModelParameter?, ILabelStyle?, Size?, ILabel['tag']?)in Graph
addLabel (IGraph, IGraph, ILabelOwner, ILabel)in GraphCopierAdds a label to the targetOwner in the targetGraph as a copy of the sourceLabel.
addLabel (ILabelOwner, string, ILabelModelParameter?, ILabelStyle?, Size?, ILabel['tag']?)in GraphWrapperBase
addLabel (ILabelOwner, string, ILabelModelParameter?, ILabelStyle?, Size?, ILabel['tag']?)in IGraphAdd a label to the given node or edge using the text as the initial label text and label model parameter, style, and tag.
createCompositeLayoutData (LayoutData<INode,IEdge,ILabel,ILabel>)in IGraphReturns an instance of CompositeLayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that combines the given layout data instances.
createGenericLayoutData ()in IGraphReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to easily associate custom item-specific data with an IGraph.
addLabel (IStripe, string, ILabelModelParameter?, ILabelStyle?, Size?, ILabel['tag']?)in ITableAdd a label to the given owner using the text as the initial label text and label model parameter and style.
getDecoratorFor (Constructor<TInterface>)in LabelDecoratorCreates a LookupDecorator<TDecoratedType,TInterface> for ILabels that can be used to decorate TInterface types of the labels.
getDecoratorFor (Constructor<TInterface>)in StripeLabelDecoratorCreates a LookupDecorator<TDecoratedType,TInterface> for ILabels that can be used to decorate TInterface types of the labels.
addLabel (IStripe, string, ILabelModelParameter?, ILabelStyle?, Size?, ILabel['tag']?)in Table
createLayoutData (IGraph?)in HierarchicalLayoutReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the HierarchicalLayout.
addLabel (IInputModeContext, LabelEditingEventArgs)in EditLabelHelperHandles adding the label upon finish.
finish (IInputModeContext, LabelEditingEventArgs, LabelEditingAction)in EditLabelHelperInvoked after the label editing gesture has successfully finished.
labelDropped (IInputModeContext, LabelEditingEventArgs)in EditLabelHelperHandles adding the label upon finish after the drop action of a drag and drop operation.
finish (IInputModeContext, LabelEditingEventArgs, LabelEditingAction)in IEditLabelHelperInvoked after the label editing gesture has successfully finished.
createLabel (IInputModeContext, IGraph, ILabel, ILabelOwner, ILabelModelParameter)in LabelDropInputModeCreates the label in the graph after it's been dropped.
createLayoutData (IGraph?)in GenericLabelingReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the GenericLabeling.
createLayoutData (IGraph?)in AlignmentStageReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the AlignmentStage.
createLayoutData (IGraph)in BendSubstitutionStageReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to define the edges affected by the BendSubstitutionStage.
createLayoutData (IGraph?)in ComponentLayoutReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the ComponentLayout.
createLayoutData (IGraph)in CurveFittingStageReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to define the edges affected by the CurveFittingStage.
createLayoutData (IGraph?)in GenericLayoutGridStageReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the GenericLayoutGridStage.
createLayoutData (IGraph?)in GivenCoordinatesLayoutReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the GivenCoordinatesLayout.
createLayoutData (IGraph?)in LayoutAnchoringStageReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the LayoutAnchoringStage.
prepareTableLayout ()in LayoutExecutorUses tableLayoutConfigurator to prepare a LayoutGridData<TNode,TEdge,TNodeLabel,TEdgeLabel> for the layout.
prepareTableLayout ()in LayoutExecutorAsyncSets up partition grid information from tables in the graph.
getOriginalLabel (LayoutNodeLabel)in LayoutGraphAdapterReturns the original node label that corresponds to the given layout graph label.
getOriginalLabel (LayoutEdgeLabel)in LayoutGraphAdapterReturns the original edge label that corresponds to the given layout graph label.
createLayoutData (IGraph?)in PlaceNodesAtBarycenterStageReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the PlaceNodesAtBarycenterStage.
createLayoutData (IGraph?)in RadialGroupLayoutReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the RadialGroupLayout.
createLayoutData (IGraph?)in RecursiveGroupLayoutReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the RecursiveGroupLayout.
createLayoutData (IGraph?)in RemoveOverlapsStageReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the RemoveOverlapsStage.
createLayoutData (IGraph?)in SubgraphLayoutStageReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the SubgraphLayoutStage.
prepare (IGraph)in TableLayoutConfiguratorSetup layout grid information from a graph that contains table structures
createLayoutData (IGraph?)in TabularLayoutReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the TabularLayout.
createLayoutData (IGraph?)in TemporaryGroupInsertionStageReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the TemporaryGroupInsertionStage.
createLayoutData (IGraph?)in MultiPageLayoutReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the MultiPageLayout.
createLayoutData (IGraph?)in OrganicLayoutReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the OrganicLayout.
createLayoutData (IGraph?)in OrthogonalLayoutReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the OrthogonalLayout.
createLayoutData (IGraph?)in ClearAreaLayoutReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the ClearAreaLayout.
createLayoutData (IGraph?)in FillAreaLayoutReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the FillAreaLayout.
createLayoutData (IGraph?)in PartialLayoutReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the PartialLayout.
createLayoutData (IGraph?)in RadialLayoutReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the RadialLayout.
createLayoutData (IGraph)in CurveRoutingStageReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to define the edges affected by the CurveRoutingStage.
createLayoutData (IGraph?)in EdgeRouterReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to define the edges affected by the EdgeRouter.
createLayoutData (IGraph)in OctilinearRoutingStageReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to define the edges affected by the OctilinearRoutingStage.
createLayoutData (IGraph?)in OrganicEdgeRouterReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the OrganicEdgeRouter.
createLayoutData (IGraph?)in SelfLoopRouterReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to define the edges affected by the SelfLoopRouter.
createLayoutData (IGraph?)in StraightLineEdgeRouterReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the StraightLineEdgeRouter.
createLayoutData (IGraph?)in SeriesParallelLayoutReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the SeriesParallelLayout.
getLabel (ILabel)in DelegatingLabelStyleReturns the label used for rendering.
createLayoutData (IGraph?)in RadialTreeLayoutReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the RadialTreeLayout.
createLayoutData (IGraph?)in TreeLayoutReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the TreeLayout.
createLayoutData (IGraph?)in TreeMapLayoutReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the TreeMapLayout.
createLayoutData (IGraph?)in TreeReductionStageReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the TreeReductionStage.
createEdgeLabelModelManager (IObjectRenderer<ILabel>, function(ILabel):IRenderTreeGroup)in GraphModelManagerFactory method for creating the ItemModelManager<T> that handles the visual representation of edge labels.
createNodeLabelModelManager (IObjectRenderer<ILabel>, function(ILabel):IRenderTreeGroup)in GraphModelManagerFactory method for creating the ItemModelManager<T> that handles the visual representation of node labels.
createPortLabelModelManager (IObjectRenderer<ILabel>, function(ILabel):IRenderTreeGroup)in GraphModelManagerFactory method for creating the ItemModelManager<T> that handles the visual representation of port labels.

Method Parameters

onLabelAdded (ILabel, any)in AdjacencyGraphBuilderTriggers the label-added event.
onLabelRemoved (ILabel, any)in AdjacencyGraphBuilderTriggers the label-removed event.
onLabelUpdated (ILabel, any)in AdjacencyGraphBuilderTriggers the label-updated event.
onLabelAdded (ILabel, any)in GraphBuilderTriggers the label-added event.
onLabelRemoved (ILabel, any)in GraphBuilderTriggers the label-removed event.
onLabelUpdated (ILabel, any)in GraphBuilderTriggers the label-updated event.
applyPreferredSizeBindings (IGraph, ILabel, TDataItem)in LabelCreatorResolves the preferredSizeBindings against the given dataItem and applies them to the given label preferredSize.
applyStyleBindings (IGraph, ILabel, TDataItem)in LabelCreatorResolves the styleBindings against the given dataItem and applies them to the given label style.
getUpdatedLayoutParameter (IGraph, ILabel, TDataItem)in LabelCreatorResolves the layoutParameterProvider on the given data item.
getUpdatedPreferredSize (IGraph, ILabel, TDataItem)in LabelCreatorResolves the preferredSizeProvider and then applies the preferred size bindings.
getUpdatedStyle (IGraph, ILabel, TDataItem)in LabelCreatorResolves the styleProvider and then applies the style bindings.
getUpdatedTag (IGraph, ILabel, TDataItem)in LabelCreatorResolves the tagProvider on the given data item.
getUpdatedText (IGraph, ILabel, TDataItem)in LabelCreatorResolves the textProvider on the given data item.
onLabelAdded (IGraph, TDataItem, ILabel)in LabelCreatorTriggers the label-added event.
onLabelUpdated (IGraph, TDataItem, ILabel)in LabelCreatorTriggers the label-updated event.
updateLabel (IGraph, ILabel, TDataItem)in LabelCreatorUpdates the label.
updateLayoutParameter (IGraph, ILabel, TDataItem)in LabelCreatorUpdates the layoutParameter of the label with the given dataItem by calling getUpdatedLayoutParameter and setting the new parameter on the label.
updatePreferredSize (IGraph, ILabel, TDataItem)in LabelCreatorUpdates the preferredSize of the label with the given dataItem by calling getUpdatedPreferredSize and setting the new size on the label.
updateStyle (IGraph, ILabel, TDataItem)in LabelCreatorUpdates the style of the label with the given dataItem by calling getUpdatedStyle and applying the style to the node in the graph.
updateTag (IGraph, ILabel, TDataItem)in LabelCreatorUpdates the tag of the label with the given dataItem by calling getUpdatedTag and setting the new tag on the label.
updateText (IGraph, ILabel, TDataItem)in LabelCreatorUpdates the text of the label with the given dataItem by calling getUpdatedText and setting the new text on the label.
onLabelAdded (ILabel, any)in TreeBuilderTriggers the label-added event.
onLabelRemoved (ILabel, any)in TreeBuilderTriggers the label-removed event.
onLabelUpdated (ILabel, any)in TreeBuilderTriggers the label-updated event.
findBestParameter (ILabel, IOrientedRectangle)in BezierEdgePathLabelModelTries to find a parameter that best matches the given layout for the provided label instance.
getContext (ILabel)in BezierEdgePathLabelModelReturns an empty context.
getGeometry (ILabel, ILabelModelParameter)in BezierEdgePathLabelModel
findBestParameter (ILabel, IOrientedRectangle)in BezierEdgeSegmentLabelModelTries to find a parameter that best matches the given layout for the provided label instance.
getContext (ILabel)in BezierEdgeSegmentLabelModelReturns an empty context.
getGeometry (ILabel, ILabelModelParameter)in BezierEdgeSegmentLabelModel
addLabel (ClipboardOperationContext, ILabelOwner, ILabel)in ClipboardGraphCopierAdds a label to the targetOwner in the targetGraph as a copy of the sourceLabel.
copyLabelLayoutParameter (IGraph, ILabel)in ClipboardGraphCopierCopies a ILabelModelParameter for a given label.
copyLabelStyle (IGraph, ILabel)in ClipboardGraphCopierCopies an ILabelStyle instance.
copyLabelTag (ILabel, any)in ClipboardGraphCopierCopies the tag of an ILabel.
onLabelCopied (ILabel, ILabel)in ClipboardGraphCopierCalled after a label has been copied.
findBestParameter (ILabel, IOrientedRectangle)in CompositeLabelModelTries to find a parameter that best matches the given layout for the provided label instance.
getContext (ILabel)in CompositeLabelModel
getGeometry (ILabel, ILabelModelParameter)in CompositeLabelModel
getParameters (ILabel)in CompositeLabelModelReturns an enumerator over a set of possible ILabelModelParameter instances that can be used for the given label and model.
findBestParameter (ILabel, IOrientedRectangle)in EdgePathLabelModelTries to find a parameter that best matches the given layout for the provided label instance.
getContext (ILabel)in EdgePathLabelModelReturns an empty context.
getGeometry (ILabel, ILabelModelParameter)in EdgePathLabelModel
findBestParameter (ILabel, IOrientedRectangle)in EdgeSegmentLabelModelTries to find a parameter that best matches the given layout for the provided label instance.
getContext (ILabel)in EdgeSegmentLabelModelReturns an empty context.
getGeometry (ILabel, ILabelModelParameter)in EdgeSegmentLabelModel
getContext (ILabel)in ExteriorNodeLabelModel
getGeometry (ILabel, ILabelModelParameter)in ExteriorNodeLabelModel
addLabel (FoldingLabelOwnerState, ILabel, string, ILabelModelParameter, ILabelStyle, Size, any)in FoldingLabelDefaultsSimple callback method that delegates to addLabel
initializeState (FoldingLabelOwnerState, ILabel)in FoldingLabelDefaultsCalled by implementations of the IFolderNodeConverter and IFoldingEdgeConverter interfaces to initialize the state of a label in the folding view.
updateMaster (IGraph, FoldingLabelState, ILabel)in FoldingLabelDefaultsCalled in response to updateGroupNodeState and updateMasterEdges to optionally update the various properties on the master label according to the state of the folding label.
updateState (FoldingLabelState, ILabel)in FoldingLabelDefaultsCalled by implementations of the IFolderNodeConverter and IFoldingEdgeConverter interfaces to update the state of a label in the folding view, once it has changed.
findBestParameter (ILabel, IOrientedRectangle)in FreeEdgeLabelModelTries to find a parameter that best matches the given layout for the provided label instance.
getContext (ILabel)in FreeEdgeLabelModel
getGeometry (ILabel, ILabelModelParameter)in FreeEdgeLabelModel
getContext (ILabel)in FreeLabelModel
getGeometry (ILabel, ILabelModelParameter)in FreeLabelModel
findBestParameter (ILabel, IOrientedRectangle)in FreeNodeLabelModelTries to find a parameter that best matches the given layout for the provided label instance.
getContext (ILabel)in FreeNodeLabelModel
getGeometry (ILabel, ILabelModelParameter)in FreeNodeLabelModel
findBestParameter (ILabel, IOrientedRectangle)in FreePortLabelModelTries to find a parameter that best matches the given layout for the provided label instance.
getContext (ILabel)in FreePortLabelModel
getGeometry (ILabel, ILabelModelParameter)in FreePortLabelModel
createUndoUnitForLabelAddition (ILabel)in GraphCreates the label addition undo unit for the given label.
createUndoUnitForLabelModelParameterChange (ILabel, ILabelModelParameter)in GraphCreates the undo unit for changing the layout parameter of the given label.
createUndoUnitForLabelRemoval (ILabel)in GraphCreates the label removal undo unit for the given label.
createUndoUnitForLabelStyleChange (ILabel, ILabelStyle)in GraphCreates the undo unit for changing the style of the given label.
createUndoUnitForLabelTagChange (ILabel, any)in GraphCreates the undo unit for changing the tag of the given label.
createUndoUnitForLabelTextChange (ILabel, string)in GraphCreates the undo unit for changing the text of the given label.
createUndoUnitForPreferredSizeChange (ILabel, Size)in GraphCreates the undo unit for changing the preferred size of the given label.
hasOwner (ILabel)in GraphWhether the given label has a valid owner.
onAddingEdgeLabel (IEdge, ILabel)in GraphCalled just before an edge label is added to an edge.
onAddingNodeLabel (INode, ILabel)in GraphCalled just before a node label is added to a node.
onAddingPortLabel (IPort, ILabel)in GraphCalled just before a port label is added to a port.
onChangingLabelLayoutParameter (ILabel, ILabelModelParameter)in GraphCalled before the layoutParameter of a label is being changed.
onChangingLabelPreferredSize (ILabel, Size)in GraphCalled before the preferred size of a label is being changed.
onChangingLabelStyle (ILabel, ILabelStyle)in GraphCalled before a label style is being changed.
onChangingLabelText (ILabel, string)in GraphCalled before the text of a label is being changed.
onEdgeLabelAdded (ILabel)in GraphCalled after a label has been added to an edge.
onEdgeLabelRemoved (ILabelOwner, ILabel)in GraphCalled after an edge label has been removed from its edge.
onLabelLayoutParameterChanged (ILabel, ILabelModelParameter)in GraphCalled after a label model parameter has changed.
onLabelPreferredSizeChanged (ILabel, Size)in GraphCalled after the preferred size of a label has changed.
onLabelStyleChanged (ILabel, ILabelStyle)in GraphCalled after a label style has changed.
onLabelTagChanged (ILabel, any)in GraphCalled after a label tag has changed.
onLabelTextChanged (ILabel, string)in GraphCalled after a label text has changed.
onNodeLabelAdded (ILabel)in GraphCalled after a label has been added to a node.
onNodeLabelRemoved (ILabelOwner, ILabel)in GraphCalled after a label has been removed from its node.
onPortLabelAdded (ILabel)in GraphCalled after a label has been added to a port.
onPortLabelRemoved (ILabelOwner, ILabel)in GraphCalled after a port label has been removed from its port.
onRemovingEdgeLabel (ILabel)in GraphCalled just before an edge label is removed from its edge.
onRemovingNodeLabel (ILabel)in GraphCalled just before a node label is removed from its node.
onRemovingPortLabel (ILabel)in GraphCalled just before a port label is removed from its port.
setLabelLayoutParameter (ILabel, ILabelModelParameter)in Graph
setLabelPreferredSize (ILabel, Size)in Graph
setLabelText (ILabel, string)in GraphSets the label text of the given label.
setStyle (ILabel, ILabelStyle)in GraphAssigns the given style instance by reference to the label.
getLabelLayoutParameter (ClipboardGraphCopier, IGraph, ILabel, ILabelOwner)in GraphClipboardGets an ILabelModelParameter for the given sourceLabel to be placed at the given newTargetOwner.
getTargetLabeledItem (ClipboardOperationContext, ILabel)in GraphClipboardProvides an ILabelOwner where the given sourceLabel can be added to.
addLabel (IGraph, IGraph, ILabelOwner, ILabel)in GraphCopierAdds a label to the targetOwner in the targetGraph as a copy of the sourceLabel.
copyLabelLayoutParameter (IGraph, ILabel)in GraphCopierCopies a ILabelModelParameter for a given label.
copyLabelStyle (IGraph, ILabel)in GraphCopierCopies an ILabelStyle instance.
copyLabelTag (ILabel, ILabel['tag'])in GraphCopierCopies the tag of an ILabel.
onLabelCopied (ILabel, ILabel)in GraphCopierCalled after a label has been copied.
onLabelAdded (ItemEventArgs<ILabel>)in GraphWrapperBaseRaises the label-added event.
onLabelLayoutParameterChanged (ItemChangedEventArgs<ILabel,ILabelModelParameter>)in GraphWrapperBaseRaises the label-layout-parameter-changed event.
onLabelPreferredSizeChanged (ItemChangedEventArgs<ILabel,Size>)in GraphWrapperBaseRaises the label-preferred-size-changed event.
onLabelStyleChanged (ItemChangedEventArgs<ILabel,ILabelStyle>)in GraphWrapperBaseRaises the label-style-changed event.
onLabelTagChanged (ItemChangedEventArgs<ILabel,any>)in GraphWrapperBaseRaises the label-tag-changed event.
onLabelTextChanged (ItemChangedEventArgs<ILabel,string>)in GraphWrapperBaseRaises the label-text-changed event.
setLabelLayoutParameter (ILabel, ILabelModelParameter)in GraphWrapperBase
setLabelPreferredSize (ILabel, Size)in GraphWrapperBase
setLabelText (ILabel, string)in GraphWrapperBase
setStyle (ILabel, ILabelStyle)in GraphWrapperBase
getContext (ILabel)in GroupNodeLabelModel
getGeometry (ILabel, ILabelModelParameter)in GroupNodeLabelModel
adjustLabelPreferredSize (ILabel)in IGraphAdjusts the preferredSize property of a label to fit the suggested size of its ILabelStyleRenderer.
applyLayout (ILayoutAlgorithm, LayoutData<INode,IEdge,ILabel,ILabel>?, TimeSpan?, TimeSpan?, ItemMapping<IPort,PortAdjustmentPolicy>?, ItemMapping<IPort,PortPlacementPolicy>?, ItemMapping<ILabel,PortLabelPolicy>?, ItemMapping<IModelItem,LayoutAnchoringPolicy>?, ItemMapping<ILabel,LabelPlacementPolicy>?, function(INode, INode):number?, function(IEdge, IEdge):number?)in IGraphRuns an ILayoutAlgorithm synchronously on the given graph.
createCompositeLayoutData (LayoutData<INode,IEdge,ILabel,ILabel>)in IGraphReturns an instance of CompositeLayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that combines the given layout data instances.
setLabelLayoutParameter (ILabel, ILabelModelParameter)in IGraphSets the label model parameter for the given label.
setLabelPreferredSize (ILabel, Size)in IGraphSets the preferred size of the label.
setLabelText (ILabel, string)in IGraphSets the label text of the given label.
setStyle (ILabel, ILabelStyle)in IGraphAssigns the given style instance by reference to the label.
getContext (ILabel)in ILabelModelProvides a lookup context for the given label.
getGeometry (ILabel, ILabelModelParameter)in ILabelModelCalculates the geometry of the given label using the given model parameter.
adjustLabelPreferredSize (ILabel)in ITableAdjusts the preferredSize property of a label to fit the suggested size of its ILabelStyleRenderer.
remove (ILabel)in ITableRemoves the given label from its owner.
setLabelLayoutParameter (ILabel, ILabelModelParameter)in ITableSets the label model parameter for the given label.
setLabelPreferredSize (ILabel, Size)in ITableSets the preferred size of the label.
setLabelText (ILabel, string)in ITableSets the label text of the given label.
setStyle (ILabel, ILabelStyle)in ITableAssigns the given style instance by reference to the label.
getContext (ILabel)in InsideOutsidePortLabelModel
getGeometry (ILabel, ILabelModelParameter)in InsideOutsidePortLabelModel
getContext (ILabel)in InteriorNodeLabelModel
getGeometry (ILabel, ILabelModelParameter)in InteriorNodeLabelModel
getMinimumNodeSize (ILabel, ILabelModelParameter)in InteriorNodeLabelModelReturns the minimum size this model would require for the node owner of the label if the given label were used with the provided parameter.
getNodePadding (ILabel, ILabelModelParameter)in InteriorNodeLabelModelReturns the padding this model would require for the node owner of the label if the given label were used with the provided parameter.
addGenericLookup (function(ILabel, Constructor, IContextLookup):any)in LabelDecoratorAdds a generic callback as a chain link to the lookup.
LabelEventArgs (ILabel, ILabelOwner)in LabelEventArgsInitializes a new instance of the LabelEventArgs class.
getContext (ILabel)in NinePositionsEdgeLabelModel
getGeometry (ILabel, ILabelModelParameter)in NinePositionsEdgeLabelModel
getContext (ILabel)in NodeLabelModelStripeLabelModelAdapter
getGeometry (ILabel, ILabelModelParameter)in NodeLabelModelStripeLabelModelAdapter
SimpleEdge (IPort?, IPort?, )in SimpleEdgeCreates an edge with a default lookup, and, optionally, the given source and target ports.
SimpleNode ()in SimpleNodeCreates a default node with default lookup, VOID_NODE_STYLE as style, an empty layout, and no labels nor ports.
SimplePort (IPortOwner?, IPortLocationModelParameter?, )in SimplePortCreates a port with a default lookup using the given location and owner.
findBestParameter (ILabel, IOrientedRectangle)in SmartEdgeLabelModelTries to find a parameter that best matches the given layout for the provided label instance.
getContext (ILabel)in SmartEdgeLabelModel
getGeometry (ILabel, ILabelModelParameter)in SmartEdgeLabelModel
getContext (ILabel)in StretchNodeLabelModel
getGeometry (ILabel, ILabelModelParameter)in StretchNodeLabelModel
getMinimumNodeSize (ILabel, ILabelModelParameter)in StretchNodeLabelModelReturns the minimum size this model would require for the node owner of the label if the given label was used with the provided parameter.
getNodePadding (ILabel, ILabelModelParameter)in StretchNodeLabelModelReturns the padding this model would require for the node owner of the label if the given label were used with the provided parameter.
getContext (ILabel)in StretchStripeLabelModel
getGeometry (ILabel, ILabelModelParameter)in StretchStripeLabelModelCalculates the geometry in the form of an IOrientedRectangle for a given label using the given model parameter.
addGenericLookup (function(ILabel, Constructor, IContextLookup):any)in StripeLabelDecoratorAdds a generic callback as a chain link to the lookup.
getContext (ILabel)in StripeLabelModel
getGeometry (ILabel, ILabelModelParameter)in StripeLabelModelCalculates the geometry in the form of an IOrientedRectangle for a given label using the given model parameter.
onLabelAdded (ILabel)in TableCalled after a label has been added to a stripe.
onLabelChanged (ILabel)in TableCalled after a label has changed.
onLabelRemoved (ILabelOwner, ILabel)in TableCalled after a label has been removed from its stripe.
remove (ILabel)in TableRemoves the given label from its owner.
setLabelLayoutParameter (ILabel, ILabelModelParameter)in TableSets the label model parameter for the given label.
setLabelPreferredSize (ILabel, Size)in TableSets the preferred size of the label.
setLabelText (ILabel, string)in TableSets the label text of the given label.
setStyle (ILabel, ILabelStyle)in TableAssigns the given style instance by reference to the label.
getPreferredSize (IInputModeContext, ILabel)in EditLabelHelperGets the preferred size for the label.
onLabelPasting (IInputModeContext, LabelEditingEventArgs, ILabelOwner, ILabel)in EditLabelHelperInvoked from initialize to initialize the helper for adding labels during paste from the GraphClipboard.
removeLabel (IInputModeContext, ILabel)in EditLabelHelperHandles removing the label upon finish.
setLabelText (IInputModeContext, ILabel, string)in EditLabelHelperHandles changing the label text upon finish.
EditLabelInputMode ()in EditLabelInputMode
editLabel (ILabel, LabelEditingEventArgs, IEditLabelHelper)in EditLabelInputModeUses the text editor to actually edit the given label.
onLabelAdded (InputModeItemEventArgs<ILabel>)in EditLabelInputModeRaises the label-added event.
onLabelDeleted (InputModeItemChangedEventArgs<ILabel,LabelEventArgs>)in EditLabelInputModeRaises the label-deleted event.
onLabelEdited (InputModeItemEventArgs<ILabel>)in EditLabelInputModeRaises the label-edited event.
onLabelEditingCanceled (InputModeItemEventArgs<ILabel>)in EditLabelInputModeRaises the label-editing-canceled event.
onLabelEditingStarted (InputModeItemEventArgs<ILabel>)in EditLabelInputModeRaises the label-editing-started event.
openTextEditor (ILabel, LabelEditingEventArgs, IEditLabelHelper)in EditLabelInputModeOpens a new textEditorInputMode input field.
startLabelEditing (ILabel, string?)in EditLabelInputModeStarts editing the given label.
onLabelAdded (InputModeItemEventArgs<ILabel>)in GraphEditorInputModeRaises the label-added event.
onLabelDropInputModeLabelCreated (InputModeItemEventArgs<ILabel>, any)in GraphEditorInputModeCalled when the labelDropInputMode's item-created event is triggered.
onLabelEdited (InputModeItemEventArgs<ILabel>)in GraphEditorInputModeRaises the label-edited event.
startLabelEditing (ILabel)in GraphEditorInputModeStarts editing the given label.
shouldSkipHitLabel (IInputModeContext, ILabel, Point)in GraphInputModeCallback function that is used during hit testing, when an ILabel was hit tested before another non-label underneath it was reported.
getMovementInfo (ILabel)in GraphSnapContextGets the movement info for the given label.
create ()in ILabelGridConstraintProvider
collectSnapResults (GraphSnapContext, CollectSnapResultsEventArgs, IOrientedRectangle, ILabel)in ILabelSnapResultProviderCalled when the given label is dragged to add SnapResults for the SnapReferences provided by the context.
create (function(GraphSnapContext, CollectSnapResultsEventArgs, IOrientedRectangle, ILabel):void)in ILabelSnapResultProvider
LabelDropInputMode (string, )in LabelDropInputModeInitializes a new instance of the LabelDropInputMode class for the given data type.
createLabel (IInputModeContext, IGraph, ILabel, ILabelOwner, ILabelModelParameter)in LabelDropInputModeCreates the label in the graph after it's been dropped.
getLabelLayout (Point, ILabel)in LabelDropInputModeGet the layout the dragged label currently has.
getNewLabelModelParameter (ILabelOwner, ILabel, Point)in LabelDropInputModeDetermines the ILabelModelParameter the label should have if it was dropped at dragLocation over owner.
isValidLabelOwner (ILabelOwner, ILabel)in LabelDropInputModeDetermines whether the specified label can be added to the given label owner.
onItemCreated (InputModeItemEventArgs<ILabel>)in LabelDropInputMode
startDrag (HTMLElement | SVGElement, ILabel, DragDropEffects?, boolean?, HTMLElement | SVGElement?)in LabelDropInputModeStarts a drag and drop operation for a ILabel.
LabelEditingEventArgs (IInputModeContext, ILabelOwner, ILabel)in LabelEditingEventArgsInitializes a new instance of the LabelEditingEventArgs class with the given context, owner, and label.
LabelPositionHandler (ILabel)in LabelPositionHandlerInitializes a new instance of the LabelPositionHandler class.
getParameterCandidates (ILabel)in LabelPositionHandlerGets the candidates for the given label.
getParameterFinder (ILabel)in LabelPositionHandlerProvides the ILabelModelParameterFinder for calculating the label's candidates.
setLayoutParameter (ILabel, ILabelModelParameter)in LabelPositionHandlerActually applies the given parameter at the end of the gesture.
LabelSnapReferenceProvider (ILabel)in LabelSnapReferenceProviderCreates a new provider for the given label.
collectOrthogonalLineSnapResults (GraphSnapContext, CollectSnapResultsEventArgs, OrthogonalSnapLine, IOrientedRectangle, ILabel)in LabelSnapResultProviderCollects snap results that snap the center or any border of the bounds of the label to the given snapLine.
collectSnapLineResults (GraphSnapContext, CollectSnapResultsEventArgs, SnapLine, IOrientedRectangle, ILabel)in LabelSnapResultProviderCollect snap results that snap the center of the label to the given snapLine.
collectSnapResults (GraphSnapContext, CollectSnapResultsEventArgs, IOrientedRectangle, ILabel)in LabelSnapResultProvider
LabelTextValidatingEventArgs (IInputModeContext, ILabel, string)in LabelTextValidatingEventArgsInitializes a new instance of the LabelTextValidatingEventArgs class.
LayoutExecutor (GraphComponent, ILayoutAlgorithm, )in LayoutExecutorInitializes a new instance of the LayoutExecutor class.
LayoutExecutor (GraphComponent, IGraph, ILayoutAlgorithm, )in LayoutExecutorInitializes a new instance of the LayoutExecutor class.
LayoutExecutorAsync (function(object):Promise<object>, GraphComponent, LayoutDescriptor?, LayoutData<INode,IEdge,ILabel,ILabel>?, )in LayoutExecutorAsyncCreates a new instance of a layout execution helper that will asynchronously perform the calculations and optionally animate the layout on the given graphComponent.
LayoutExecutorAsync (function(object):Promise<object>, IGraph, LayoutDescriptor?, LayoutData<INode,IEdge,ILabel,ILabel>?, )in LayoutExecutorAsyncCreates a new instance of a layout execution helper that will asynchronously perform the calculations and apply the results on the provided graph.
addItemData (NodeLabelDataKey<T>, IMapper<ILabel,T>)in LayoutGraphAdapterRegisters data for individual node labels at the graph with the specified NodeLabelDataKey<TValue>.
addItemData (EdgeLabelDataKey<T>, IMapper<ILabel,T>)in LayoutGraphAdapterRegisters data for individual edge labels at the graph with the specified EdgeLabelDataKey<TValue>.
addItemData (NodeLabelDataKey<T>, function(ILabel):T, function(ILabel, T):void?)in LayoutGraphAdapterRegisters data for individual node labels at the graph with the specified NodeLabelDataKey<TValue>.
addItemData (EdgeLabelDataKey<T>, function(ILabel):T, function(ILabel, T):void?)in LayoutGraphAdapterRegisters data for individual edge labels at the graph with the specified EdgeLabelDataKey<TValue>.
applyLayout (ILayoutAlgorithm, LayoutData<INode,IEdge,ILabel,ILabel>?)in LayoutGraphAdapterApplies an ILayoutAlgorithm to an IGraph, optionally applying some LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel>.
applyLayoutData (LayoutData<INode,IEdge,ILabel,ILabel>)in LayoutGraphAdapterHelper method that applies a given LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> for IGraph elements onto the layoutGraph using the mapping between the elements established by this instance.
createEdgeLabelCandidate (ILabel, ILabel, ILabelModelParameter, LayoutEdgeLabel)in LayoutGraphAdapterCreates the LabelCandidate for a given label and ILabelModelParameter combination.
createNodeLabelCandidate (ILabel, ILabel, ILabelModelParameter, LayoutNodeLabel)in LayoutGraphAdapterCreates a LabelCandidate for a given label and ILabelModelParameter combination.
getLayoutEdgeLabel (ILabel)in LayoutGraphAdapterReturns the layout graph edge label that corresponds to the given original label.
getLayoutNodeLabel (ILabel)in LayoutGraphAdapterReturns the layout graph node label that corresponds to the given original label.
createVisual (IRenderContext, ILabel)in CompositeLabelStyleCreates the visual by delegating to all styles.
getBounds (ICanvasContext, ILabel)in CompositeLabelStyleCalculates the bounds as the union of bounds from all styles.
getPreferredSize (ILabel)in CompositeLabelStyleGets the size from the first style as the reference.
isHit (IInputModeContext, Point, ILabel)in CompositeLabelStyleChecks whether any style is hit at the given location.
isInBox (IInputModeContext, Rect, ILabel)in CompositeLabelStyleDetermines if the label is in the box based on any style.
isInPath (IInputModeContext, GeneralPath, ILabel)in CompositeLabelStyleDetermines if the label is in the path based on any style.
isVisible (ICanvasContext, Rect, ILabel)in CompositeLabelStyleDetermines visibility based on the visibility of all styles.
lookup (ILabel, Constructor)in CompositeLabelStylePerforms a lookup using the first style as the reference.
updateVisual (IRenderContext, Visual, ILabel)in CompositeLabelStyleUpdates the visual by delegating to all styles.
createVisual (IRenderContext, ILabel)in DelegatingLabelStyleCreates the visual with the style from getStyle and the label from getLabel.
getBounds (ICanvasContext, ILabel)in DelegatingLabelStyleGets the bounds with the style from getStyle and the label from getLabel.
getLabel (ILabel)in DelegatingLabelStyleReturns the label used for rendering.
getPreferredSize (ILabel)in DelegatingLabelStyleGets the preferred size of the label from getLabel with the style from getStyle.
getStyle (ILabel)in DelegatingLabelStyleProvides the core implementation of this style, returning the instance to delegate rendering logic.
isHit (IInputModeContext, Point, ILabel)in DelegatingLabelStyleDetermines with the style from getStyle whether the visualization of the label from getLabel is hit at the given location.
isInBox (IInputModeContext, Rect, ILabel)in DelegatingLabelStyleDetermines with the style from getStyle whether the visualization of the label from getLabel is included in the marquee selection.
isInPath (IInputModeContext, GeneralPath, ILabel)in DelegatingLabelStyleDetermines with the style from getStyle whether the visualization of the label from getLabel is included in the lasso selection.
isVisible (ICanvasContext, Rect, ILabel)in DelegatingLabelStyleDetermines with the style from getStyle whether the visualization of the label from getLabel is visible.
lookup (ILabel, Constructor)in DelegatingLabelStylePerforms the lookup operation with the style from getStyle and the label from getLabel.
updateVisual (IRenderContext, Visual, ILabel)in DelegatingLabelStyleUpdates the visual with the style from getStyle and the label from getLabel.
getBoundsProvider (ILabel, ILabelStyle)in ILabelStyleRendererGets an implementation of the IBoundsProvider interface that can handle the provided label and its associated style.
getContext (ILabel, ILabelStyle)in ILabelStyleRendererGets a temporary context instance that can be used to query additional information for the label's style.
getHitTestable (ILabel, ILabelStyle)in ILabelStyleRendererGets an implementation of the IHitTestable interface that can handle the provided label and its associated style.
getLassoTestable (ILabel, ILabelStyle)in ILabelStyleRendererGets an implementation of the ILassoTestable interface that can handle the provided label and its associated style.
getMarqueeTestable (ILabel, ILabelStyle)in ILabelStyleRendererGets an implementation of the IMarqueeTestable interface that can handle the provided label and its associated style.
getPreferredSize (ILabel, ILabelStyle)in ILabelStyleRendererCalculates the preferredSize of a given label using the associated style.
getVisibilityTestable (ILabel, ILabelStyle)in ILabelStyleRendererGets an implementation of the IVisibilityTestable interface that can handle the provided label and its associated style.
getVisualCreator (ILabel, ILabelStyle)in ILabelStyleRendererGets an implementation of the IVisualCreator interface that can handle the provided label and its associated style.
createVisual (IRenderContext, ILabel)in LabelStyleBaseCreates the visual.
getBounds (ICanvasContext, ILabel)in LabelStyleBaseGets the bounds of the visual for the label in the given context.
getPreferredSize (ILabel)in LabelStyleBaseReturns the preferred size of the label.
isHit (IInputModeContext, Point, ILabel)in LabelStyleBaseDetermines whether the visual representation of the label has been hit at the given location.
isInBox (IInputModeContext, Rect, ILabel)in LabelStyleBaseDetermines whether the visualization for the specified label is included in the marquee selection.
isInPath (IInputModeContext, GeneralPath, ILabel)in LabelStyleBaseDetermines whether the visualization for the specified label is included in the lasso selection.
isVisible (ICanvasContext, Rect, ILabel)in LabelStyleBaseDetermines whether the visualization for the specified label is visible in the context.
lookup (ILabel, Constructor)in LabelStyleBasePerforms the lookup operation for the getContext that has been queried from the renderer.
updateVisual (IRenderContext, TVisual, ILabel)in LabelStyleBaseUpdates the visual previously created by createVisual.
applyLayoutAnimated (ILayoutAlgorithm, TimeSpan?, LayoutData<INode,IEdge,ILabel,ILabel>?, TimeSpan?, TimeSpan?, boolean?, ItemMapping<IPort,PortAdjustmentPolicy>?, ItemMapping<IPort,PortPlacementPolicy>?, ItemMapping<ILabel,PortLabelPolicy>?, ItemMapping<IModelItem,LayoutAnchoringPolicy>?, Insets?, ItemMapping<ILabel,LabelPlacementPolicy>?, function(INode, INode):number?, function(IEdge, IEdge):number?)in GraphComponentRuns a layout on the graph of the GraphComponent and animates the transition.
createEdgeLabelModelManager (IObjectRenderer<ILabel>, function(ILabel):IRenderTreeGroup)in GraphModelManagerFactory method for creating the ItemModelManager<T> that handles the visual representation of edge labels.
createNodeLabelModelManager (IObjectRenderer<ILabel>, function(ILabel):IRenderTreeGroup)in GraphModelManagerFactory method for creating the ItemModelManager<T> that handles the visual representation of node labels.
createPortLabelModelManager (IObjectRenderer<ILabel>, function(ILabel):IRenderTreeGroup)in GraphModelManagerFactory method for creating the ItemModelManager<T> that handles the visual representation of port labels.
getLabelRenderTreeGroup (ILabel)in GraphModelManagerRetrieves the IRenderTreeGroup containing the render tree element of a given label.
createGraphAnimation (IGraph, IMapper<INode,IRectangle>?, IMapper<IEdge,yfiles.geometry.IPoint[]>?, IMapper<IPort,IPortLocationModelParameter>?, IMapper<ILabel,ILabelModelParameter>?, TimeSpan?)in IAnimationCreates a new IAnimation that animates the given layout of all types of graph items.
createLabelAnimation (IGraph, ILabel, ILabelModelParameter, TimeSpan)in IAnimationCreates a new IAnimation that animates the given label from its current layout linearly to the layout given by the targetLayoutParameter.
getBoundsProvider (ILabel)in LabelStyleIndicatorRenderer
getHitTestable (ILabel)in LabelStyleIndicatorRenderer
getVisibilityTestable (ILabel)in LabelStyleIndicatorRenderer
getVisualCreator (ILabel)in LabelStyleIndicatorRenderer
getStyle (ILabel)in WebGLGraphModelManagerReturns the currently associated style to use for the label when rendered in WebGL mode.
getWebGLLabelStyle (ILabel)in WebGLGraphModelManagerGets a WebGL2 label style that is similar to the ILabelStyle of the given label.
setAnimations (ILabel, WebGLAnimation)in WebGLGraphModelManagerSets the animations to apply to the label.
updateLabelPosition (ILabel)in WebGLGraphModelManagerUpdates the location of the WebGL2 visualization of the given label.
updateStyle (ILabel)in WebGLGraphModelManagerExplicitly updates the WebGL2 style of a label

Extending Types

LabelEventArgsA specialized subclass of the ItemEventArgs<T> class that is bound to the ILabel type and carries additional owner information.
LabelDropInputModeAn ItemDropInputMode<T> specialized to the drag and drop of ILabels.
InteractiveOrganicLayoutDataSpecifies custom data for the InteractiveOrganicLayout.

Implementing Types

SimpleLabelA mutable implementation of the ILabel interface that can be used without an IGraph.
ILabelGridConstraintProviderThis is a flagging interface for instances of IGridConstraintProvider<T> that can snap coordinates of ILabels to a grid.
LabelStyleIndicatorRendererAllows the use of an ILabelStyle to render the selection, highlight, or focus indicator of labels.