|
Search this API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface LabelLayoutKeys
LabelLayoutKeys are used for associating DataProviders that contain label-specific information
for edge and node labels.
Label-aware layout algorithms like IncrementalHierarchicLayouter may look for
such DataProviders that contain LabelLayoutData for each edge.
Instead of setting up LabelLayoutData and DataProviders one can also use
LabelLayoutTranslator to automatically translate information provided by the standard label layout classes
EdgeLabelLayout and NodeLabelLayout to layout data accessible through the keys defined below.

| Field Summary | |
|---|---|
static java.lang.Object |
EDGE_LABEL_LAYOUT_KEY
A DataProvider key for accessing label information of each edge in the input graph
|
static java.lang.Object |
IGNORE_LABEL_KEY
A DataProvider key for marking labels that should be ignored by the layout algorithm
A label is ignored if there is a DataProvider registered with this key which returns
true for the given LabelLayout. |
static java.lang.Object |
NODE_LABEL_LAYOUT_KEY
A DataProvider key for accessing label information of each node in the input graph
|
| Field Detail |
|---|
static final java.lang.Object EDGE_LABEL_LAYOUT_KEY
DataProvider key for accessing label information of each edge in the input graph
static final java.lang.Object NODE_LABEL_LAYOUT_KEY
DataProvider key for accessing label information of each node in the input graph
static final java.lang.Object IGNORE_LABEL_KEY
DataProvider key for marking labels that should be ignored by the layout algorithm
A label is ignored if there is a DataProvider registered with this key which returns
true for the given LabelLayout.
The LabelLayoutTranslator only translates labels that should not be ignored.
|
© Copyright 2000-2025, yWorks GmbH. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||