Package | Description |
---|---|
com.yworks.yfiles.graph |
Definitions, default implementations, and support classes that represent graph structures and provide facilities for their programmatic modification.
|
com.yworks.yfiles.layout |
Provides essential classes and interfaces that constitute the infrastructure for automatic graph layout generation.
|
com.yworks.yfiles.layout.labeling |
Provides algorithms for the automatic placement of node and edge labels, so called generic labeling algorithms.
|
com.yworks.yfiles.layout.router.polyline |
Provides classes and interfaces for automatic polyline routing of the edges of a graph.
|
Modifier and Type | Method and Description |
---|---|
default <V> void |
IMapperRegistry.addMapper(Class<V> valueType,
ILabelLayoutDpKey<V> tag,
IMapper<ILabel,V> mapper)
Adds a previously created mapper to this instance for the given tag.
|
default <V> IMapper<ILabel,V> |
IMapperRegistry.createConstantMapper(Class<V> valueType,
ILabelLayoutDpKey<V> tag,
V constant)
|
default <V> IMapper<ILabel,V> |
IMapperRegistry.createDelegateMapper(Class<V> valueType,
ILabelLayoutDpKey<V> tag,
Function<ILabel,V> getter)
|
default <V> Mapper<ILabel,V> |
IMapperRegistry.createMapper(Class<V> valueType,
ILabelLayoutDpKey<V> tag)
|
default <V> Mapper<ILabel,V> |
IMapperRegistry.createWeakMapper(Class<V> valueType,
ILabelLayoutDpKey<V> tag)
|
default <V> IMapper<ILabel,V> |
IMapperRegistry.getMapper(Class<V> valueType,
ILabelLayoutDpKey<V> tag)
Returns a mapper that has previously been registered with this instance for the given tag.
|
Modifier and Type | Field and Description |
---|---|
static ILabelLayoutDpKey<Boolean> |
LabelLayoutKeys.IGNORED_LABELS_DPKEY
A
DataProvider key for marking labels that should be ignored by the layout algorithm
A label is ignored if there is a IDataProvider registered with this key which
returns true for the given ILabelLayout . |
Modifier and Type | Field and Description |
---|---|
static ILabelLayoutDpKey<Object> |
AbstractLabeling.LABEL_MODEL_DPKEY
A
DataProvider key for mapping models to edge/node labels
The INodeLabelLayoutModel s and IEdgeLabelLayoutModel s linked to INodeLabelLayout s and
IEdgeLabelLayout s by this IDataProvider are taken as replacement models. |
Modifier and Type | Field and Description |
---|---|
static ILabelLayoutDpKey<Double> |
EdgeRouter.LABEL_CROSSING_PENALTY_FACTOR_DPKEY
A
DataProvider key for weighting the costs for crossing each label individually
If the factor for a label is 0 then it is allowed to cross it. |