Package de.cau.cs.kieler.klighd.kgraph
Interface KNode
- All Superinterfaces:
EMapPropertyHolder,org.eclipse.emf.ecore.EObject,org.eclipse.elk.graph.properties.IPropertyHolder,KGraphElement,KLabeledGraphElement,KLayoutData,KShapeLayout,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
KNodeImpl
A representation of the model object 'KNode'.
All nodes except exactly one node must have an assigned parent node. The node
without parent is the top node of the graph and represents the graph itself. Each
node must be assigned a label.
The parent-child relationship of nodes can be used to describe hierarchy in nested graphs.
The following features are supported:
- See Also:
- EMF generated code
- EMF model element
-
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.emf.common.util.EList<KNode>Returns the value of the 'Children' containment reference list.org.eclipse.emf.common.util.EList<KEdge>Returns the value of the 'Incoming Edges' reference list.org.eclipse.emf.common.util.EList<KEdge>Returns the value of the 'Outgoing Edges' containment reference list.Returns the value of the 'Parent' container reference.org.eclipse.emf.common.util.EList<KPort>getPorts()Returns the value of the 'Ports' containment reference list.voidSets the value of the 'Parent' container reference.Methods inherited from interface de.cau.cs.kieler.klighd.kgraph.EMapPropertyHolder
getPersistentEntries, getProperties, makePersistentMethods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface org.eclipse.elk.graph.properties.IPropertyHolder
copyProperties, getAllProperties, getProperty, hasProperty, setPropertyMethods inherited from interface de.cau.cs.kieler.klighd.kgraph.KGraphElement
getData, getData, getDataMethods inherited from interface de.cau.cs.kieler.klighd.kgraph.KLabeledGraphElement
getLabelsMethods inherited from interface de.cau.cs.kieler.klighd.kgraph.KLayoutData
isModified, resetModificationFlagMethods inherited from interface de.cau.cs.kieler.klighd.kgraph.KShapeLayout
applyVector, createVector, getHeight, getInsets, getWidth, getXpos, getYpos, setHeight, setInsets, setPos, setSize, setWidth, setXpos, setYposMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getChildren
org.eclipse.emf.common.util.EList<KNode> getChildren()Returns the value of the 'Children' containment reference list. The list contents are of typeKNode. It is bidirectional and its opposite is 'Parent'. The children together with their edges form a sub-graph that is contained in this parent node.- Returns:
- the value of the 'Children' containment reference list.
- See Also:
- EMF generated code
- EMF model element
- opposite="parent" containment="true"
-
getParent
KNode getParent()Returns the value of the 'Parent' container reference. It is bidirectional and its opposite is 'Children'. The parent node must benullif and only if this is the top node of the graph structure.- Returns:
- the value of the 'Parent' container reference.
- See Also:
- EMF generated code
- EMF model element
- opposite="children" transient="false"
-
setParent
Sets the value of the 'Parent' container reference.- Parameters:
value- the new value of the 'Parent' container reference.- See Also:
- EMF generated code
-
getPorts
org.eclipse.emf.common.util.EList<KPort> getPorts()Returns the value of the 'Ports' containment reference list. The list contents are of typeKPort. It is bidirectional and its opposite is 'Node'. Each node may have an arbitrary number of ports. Edges may or may not be connected to ports.- Returns:
- the value of the 'Ports' containment reference list.
- See Also:
- EMF generated code
- EMF model element
- opposite="node" containment="true"
-
getOutgoingEdges
org.eclipse.emf.common.util.EList<KEdge> getOutgoingEdges()Returns the value of the 'Outgoing Edges' containment reference list. The list contents are of typeKEdge. It is bidirectional and its opposite is 'Source'.If the meaning of the 'Outgoing Edges' containment reference list isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Outgoing Edges' containment reference list.
- See Also:
- EMF generated code
- EMF model element
- opposite="source" containment="true"
-
getIncomingEdges
org.eclipse.emf.common.util.EList<KEdge> getIncomingEdges()Returns the value of the 'Incoming Edges' reference list. The list contents are of typeKEdge. It is bidirectional and its opposite is 'Target'.If the meaning of the 'Incoming Edges' reference list isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Incoming Edges' reference list.
- See Also:
- EMF generated code
- EMF model element
- opposite="target"
-