public interface LayoutAlgo
Modifier and Type | Method and Description |
---|---|
void |
configure(NodeAttributesReader vreader,
int nbRoot,
int nbStable,
int nbClassic,
int maxHeight,
int maxWidth)
set some parameters for the layout, getting ready to place all nodes.
|
void |
placeNextClassic()
place the next classic node
|
void |
placeNextRoot()
place the next root node.
|
void |
placeNextStable()
place the next stable node
|
void configure(NodeAttributesReader vreader, int nbRoot, int nbStable, int nbClassic, int maxHeight, int maxWidth)
vreader
- used to read and change node's propertiesnbRoot
- number of root nodesnbStable
- number of stable nodesnbClassic
- number of classic nodesmaxHeight
- height of the taller nodemaxWidth
- width of the bigger nodevoid placeNextRoot()
void placeNextStable()
void placeNextClassic()
Copyright © 2005–2020. All rights reserved.