Package | com.yworks.yfiles.layout |
Class | public class LabelLayoutKeys |
Inheritance | LabelLayoutKeys YObject Object |
See also
Constant | Defined By | ||
---|---|---|---|
EDGE_LABEL_LAYOUT_KEY : Object = LabelLayoutKeys.EDGE_LABEL_LAYOUT_KEY [static]
Key that is used to add or access a data provider to a graph that must return for each edge of the graph an array of type com.yworks.yfiles.layout.LabelLayoutData. | LabelLayoutKeys | ||
IGNORE_LABEL_KEY : Object = y.layout.LabelLayoutKeys.IGNORE_LABEL_KEY [static]
Key that is used to store whether or not a label (i.e., an instance of com.yworks.yfiles.layout.LabelLayout) should be considered during layout. | LabelLayoutKeys | ||
NODE_LABEL_LAYOUT_KEY : Object = LabelLayoutKeys.NODE_LABEL_LAYOUT_KEY [static]
Key that is used to add or access a data provider to a graph that must returns for each node of the graph an array of type com.yworks.yfiles.layout.LabelLayoutData. | LabelLayoutKeys |
EDGE_LABEL_LAYOUT_KEY | Constant |
public static const EDGE_LABEL_LAYOUT_KEY:Object = LabelLayoutKeys.EDGE_LABEL_LAYOUT_KEY
Key that is used to add or access a data provider to a graph that must return for each edge of the graph an array of type com.yworks.yfiles.layout.LabelLayoutData.
See also
IGNORE_LABEL_KEY | Constant |
public static const IGNORE_LABEL_KEY:Object = y.layout.LabelLayoutKeys.IGNORE_LABEL_KEY
Key that is used to store whether or not a label (i.e., an instance of com.yworks.yfiles.layout.LabelLayout) should be considered during layout.
A label is ignored if the data provider registered with this key is not null
and com.yworks.yfiles.base.DataProvider.getBool() returns true
.
Currently this key is directly considered by the following layout algorithms: com.yworks.yfiles.layout.router.polyline.EdgeRouter. Furthermore, layout stage com.yworks.yfiles.layout.LabelLayoutTranslator only translates labels that should not be ignored.
See also
NODE_LABEL_LAYOUT_KEY | Constant |
public static const NODE_LABEL_LAYOUT_KEY:Object = LabelLayoutKeys.NODE_LABEL_LAYOUT_KEY
Key that is used to add or access a data provider to a graph that must returns for each node of the graph an array of type com.yworks.yfiles.layout.LabelLayoutData.
See also