documentationfor yFiles for HTML 3.0.0.3

Fields

NODE_LABEL_CANDIDATE_PROCESSOR_DATA_KEYin GenericLabelingThe NodeLabelDataKey<NodeLabelCandidateProcessor> key used to associate an node label candidate processor delegate with a node label to modify the weights calculated during the GenericLabeling.
NODE_LABEL_CANDIDATE_RESULT_DATA_KEYin GenericLabelingA data key for publishing the chosen candidates for all affected node labels.
NODE_LABEL_CANDIDATES_DATA_KEYin GenericLabelingThe NodeLabelDataKey<TValue> key to specify candidates for each node label.
NODE_LABELING_COSTS_DATA_KEYin GenericLabelingThe NodeLabelDataKey<LabelingCosts> key to specify LabelingCosts for each node label.
NODE_LABEL_ANCHORING_POLICY_DATA_KEYin LayoutAnchoringStageA data key used to specify the node labels that should be used to calculate the anchor point.
ORIGINAL_NODE_LABEL_DATA_KEYin LayoutGraphAdapterA data provider key that can be used to look up the original ILabel of an LayoutNodeLabel.
PLACE_NODE_LABELS_DATA_KEYin LayoutKeysA data key for specifying the node labels as in- or out-of-scope for labeling algorithms.
SUBGRAPH_NODE_LABELS_DATA_KEYin SubgraphLayoutStageA data key for marking node labels that are included in the subgraph, thus, visible during the core layout.
NODE_LABEL_ID_DATA_KEYin MultiPageLayoutA data key for mapping each node label of the input graph to a unique ID.
NODE_LABEL_CROSSING_COST_FACTOR_DATA_KEYin EdgeRouterA data key for weighting the costs for crossing each node label individually.

Method Parameters

addDataKeyTransfer (NodeLabelDataKey<T>, NodeLabelDataKey<T>)in ContextModificationStageAdds the specified keys as a pair of keys whose associated data should be transferred.
addHiddenKey (NodeLabelDataKey<T>)in ContextModificationStageAdds the specified key to the data keys whose associated data is temporarily hidden by this stage.
addReplacementMap (NodeLabelDataKey<T>, IMapper<LayoutNodeLabel,T>)in ContextModificationStageAdds the specified key to the data keys whose associated data is temporarily replaced by this stage.
addItemCollection (NodeLabelDataKey<boolean>, ItemCollectionConvertible<TNodeLabel>?)in GenericLayoutDataAdds a set of node labels in the graph that will be passed to the LayoutGraph.
addItemMapping (NodeLabelDataKey<TValue>, ItemMappingConvertible<TNodeLabel,TValue>?)in GenericLayoutDataAdds data per node labels in the graph that will be added to the LayoutGraph.
addItemData (NodeLabelDataKey<T>, IMapper<ILabel,T>)in LayoutGraphAdapterRegisters data for individual node labels at the graph with the specified NodeLabelDataKey<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 (NodeLabelDataKey<TValue>, IMapper<LayoutNodeLabel,TValue>)in LayoutGraphContextRegisters data for individual node labels at the graph with the specified NodeLabelDataKey<TValue>.
addItemData (NodeLabelDataKey<TValue>, function(LayoutNodeLabel):TValue, function(LayoutNodeLabel, TValue):void?)in LayoutGraphContextRegisters data for individual node labels at the graph with the specified NodeLabelDataKey<TValue>.
getItemData (NodeLabelDataKey<TValue>)in LayoutGraphContextGets data for individual node labels registered for the graph with the specified NodeLabelDataKey<TValue>.
hideItemData (NodeLabelDataKey<TValue>)in LayoutGraphContextHides the item data registered for the graph with the specified NodeLabelDataKey<TValue>.
getData (NodeLabelDataKey<TData>)in LayoutNodeLabelReturns the data stored for the node label in the IMapper<K,V> registered with the LayoutGraph of the owner under the given look-up key.