java.lang.Object
de.grogra.persistence.ShareableBase
de.grogra.imp2d.layout.Layout
de.grogra.imp2d.layout.SquareLayout
- All Implemented Interfaces:
Manageable
,Shareable
This class implements a graph changing layout. The nodes will be
arranged in a square
-
Nested Class Summary
Nested classes/interfaces inherited from class de.grogra.imp2d.layout.Layout
Layout.Algorithm
-
Field Summary
Modifier and TypeFieldDescriptionstatic final SquareLayout.Type
static final SCOType.Field
static final SCOType.Field
static final SCOType.Field
static final SCOType.Field
Fields inherited from class de.grogra.imp2d.layout.Layout
fit$FIELD, transformationSteps$FIELD
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Layout.Algorithm
Creates an algorithm for this layout.int
void
setLayerCount
(int value) Methods inherited from class de.grogra.imp2d.layout.Layout
getParam, invoke, setParam, setRedraw, setTransformationSteps
Methods inherited from class de.grogra.persistence.ShareableBase
addReference, appendReferencesTo, fieldModified, getProvider, getStamp, initProvider, manageableReadResolve, manageableWriteReplace, removeReference
-
Field Details
-
$TYPE
-
layerCount$FIELD
-
layerDistance$FIELD
-
nodeDistance$FIELD
-
topDown$FIELD
-
-
Constructor Details
-
SquareLayout
public SquareLayout()
-
-
Method Details
-
createAlgorithm
Description copied from class:Layout
Creates an algorithm for this layout.- Specified by:
createAlgorithm
in classLayout
- Returns:
- a new
Algorithm
instance
-
getManageableType
-
getLayerCount
public int getLayerCount() -
setLayerCount
public void setLayerCount(int value)
-