public interface Node extends IdentifiableElement
Labels. Am node always belong to 0..1 Graphs and can also
be contained in one or more Layers.| Modifier and Type | Method and Description |
|---|---|
void |
addLayer(Layer layer)
Adds this node to the passed layer.
|
Graph |
getGraph()
Returns the container graph of this node.
|
Set<? extends Layer> |
getLayers()
Returns all layers containing this node.
|
void |
removeLayer(Layer layer)
Removes this node from the passed layer.
|
void |
setGraph(Graph graph)
Sets the container graph of this node.
|
getId, getIdentifier, setId, setIdentifieraddLabel, containsLabel, getLabel, getLabel, getLabels, getLabelsByNamespace, removeAll, removeLabel, removeLabel, sizeLabelsGraph getGraph()
void setGraph(Graph graph)
Graph.getNodes()
will return a list containing this node.graph - graph which contains this nodeSet<? extends Layer> getLayers()
void addLayer(Layer layer)
layer - to which this node should be addedvoid removeLayer(Layer layer)
layer - from which this node should be removedCopyright © 2009–2020 Humboldt-Universität zu Berlin, INRIA. All rights reserved.