Interface KLayoutData

All Superinterfaces:
EMapPropertyHolder, org.eclipse.emf.ecore.EObject, org.eclipse.elk.graph.properties.IPropertyHolder, org.eclipse.emf.common.notify.Notifier
All Known Subinterfaces:
KEdge, KEdgeLayout, KLabel, KNode, KPort, KShapeLayout
All Known Implementing Classes:
KEdgeImpl, KLabelImpl, KNodeImpl, KPortImpl

public interface KLayoutData extends EMapPropertyHolder
A representation of the model object 'KLayout Data'. Common interface for shape layouts and edge layouts. Shape layouts are used by nodes, ports, and labels, while edge layouts are used by edges.
See Also:
EMF generated code
EMF model element
interface="true" abstract="true"
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Whether the concrete layout data have been modified since the layout data instance was created or the modification flag was reset.
    void
    Reset the modification flag to false.

    Methods inherited from interface de.cau.cs.kieler.klighd.kgraph.EMapPropertyHolder

    getPersistentEntries, getProperties, makePersistent

    Methods inherited from interface org.eclipse.emf.ecore.EObject

    eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset

    Methods inherited from interface org.eclipse.elk.graph.properties.IPropertyHolder

    copyProperties, getAllProperties, getProperty, hasProperty, setProperty

    Methods inherited from interface org.eclipse.emf.common.notify.Notifier

    eAdapters, eDeliver, eNotify, eSetDeliver
  • Method Details

    • isModified

      boolean isModified()
      Whether the concrete layout data have been modified since the layout data instance was created or the modification flag was reset. For shape layouts this refers to the position or size, and for edge layouts it refers to the source point, target point, or bend points.
      EMF generated code
      EMF model element
      kind="operation" required="true"
    • resetModificationFlag

      void resetModificationFlag()
      Reset the modification flag to false. Layout algorithms should not do this.
      EMF generated code
      EMF model element