public interface ILayer
A layer consists of nodes along with the associated same-layer edges. Each layer has a type
and an
index representing its order in the list of layers
.
ILayers
,
HierarchicLayoutCore
,
ILayerer
Modifier and Type | Method and Description |
---|---|
void |
add(Node node)
|
void |
addSameLayerEdge(Edge edge)
|
int |
getIndex()
Gets the index of this
ILayer instance in the
list of all layers . |
NodeList |
getList()
|
RowDescriptor |
getRow()
Gets the
RowDescriptor associated with this ILayer instance. |
YList |
getSameLayerEdges()
|
LayerType |
getType()
Gets the type of this
ILayer instance. |
void |
remove()
Removes the current layer from the
list of layers . |
void |
remove(Node node)
|
void |
setNodeOrder(YList list)
|
void |
setRow(RowDescriptor value)
Sets the
RowDescriptor associated with this ILayer instance. |
void addSameLayerEdge(Edge edge)
edge
- the same-layer Edge
to be addedint getIndex()
ILayer
instance in the
list of all layers
.ILayer
instanceRowDescriptor getRow()
RowDescriptor
associated with this ILayer
instance.RowDescriptor
instancesetRow(RowDescriptor)
LayerType getType()
ILayer
instance.void remove()
list of layers
.void setNodeOrder(YList list)
list
- the given list to be usedvoid setRow(RowDescriptor value)
RowDescriptor
associated with this ILayer
instance.value
- a RowDescriptor
instancegetRow()