de.cau.cs.kieler.kiml.layout.klayoutdata
Interface KLayoutData
- All Superinterfaces:
- EObject, KGraphData, Notifier
- All Known Subinterfaces:
- KEdgeLayout, KShapeLayout
- All Known Implementing Classes:
- KEdgeLayoutImpl, KLayoutDataImpl, KShapeLayoutImpl
public interface KLayoutData
- extends KGraphData
A representation of the model object 'Layout Data'.
Layout data can be attached to any
graph element and may
contain layout options to customize the behavior of layout algorithms.
The following features are supported:
- See Also:
KLayoutDataPackage.getKLayoutData()
- Rating

- Generated:
- This code was automatically generated.
- Model element:
Methods inherited from interface org.eclipse.emf.ecore.EObject |
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
getOptions
EList<KOption> getOptions()
- Returns the value of the 'Options' containment reference list.
The list contents are of type
KOption
.
Layout options specify how a layout algorithm shall handle the related
graph element or its children. Options are defined in
LayoutOptions
and consist of a key-value pair of specific type.
- Returns:
- the value of the 'Options' containment reference list.
- See Also:
KLayoutDataPackage.getKLayoutData_Options()
- Generated:
- This code was automatically generated.
- Model element:
getOption
KOption getOption(String key)
-
Retrieves the first option of given key in the list of layout options.
- Returns:
- layout option for the given key, or
null
if there is none
- Generated:
- This code was automatically generated.
- Model element