y.layout
Interface LabelLayoutKeys

All Known Implementing Classes:
LabelLayoutData

public interface LabelLayoutKeys

This interface provides label-specific keys that can be used to add data providers to a layout graph.

Label aware layout algorithms like HierarchicLayouter look for data providers named by these keys.

Instead of setting up label layout data and data providers one can also use the layout stage LabelLayoutTranslator to automatically translate information provided by the standard label layout classes EdgeLabelLayout and NodeLabelLayout to layout data accessible by the keys defined below.


Field Summary
static Object EDGE_LABEL_LAYOUT_KEY
          Key that is used to add or access a data provider to a graph that must returns for each edge of the graph an array of type LabelLayoutData.
 

Field Detail

EDGE_LABEL_LAYOUT_KEY

public static final Object EDGE_LABEL_LAYOUT_KEY
Key that is used to add or access a data provider to a graph that must returns for each edge of the graph an array of type LabelLayoutData.


© Copyright 2000-2003,
yWorks GmbH.
All rights reserved.

2003