|
Search this API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface LayerSequencer
This interface calculates the order of the nodes within each layer into which the graph has been partitioned.

| Method Summary | |
|---|---|
NodeList[] |
getLayers(LayoutGraph graph,
NodeMap layerID,
int maxLayer)
Calculates the sequence of nodes within each layer. |
| Method Detail |
|---|
NodeList[] getLayers(LayoutGraph graph,
NodeMap layerID,
int maxLayer)
The result is returned as an array of NodeLists containing nodes that belong to the same layer. The
order of the nodes within such list represents the sequence of the nodes within their layer.
graph - the input graphlayerID - the NodeMap that returns the zero-based index of the layer to which each node belongsmaxLayer - the number of layers
NodeLists containing nodes that belong to the same layer; the order of the nodes
within each such list represents the sequence of the nodes within their layer
|
© Copyright 2000-2025, yWorks GmbH. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||