info.aduna.linkmap.layout
Class LinkSubgraphLayoutManager2
java.lang.Object
info.aduna.linkmap.layout.GraphLayoutManager
info.aduna.linkmap.layout.GemLayoutManager
info.aduna.linkmap.layout.LinkSubgraphLayoutManager2
- All Implemented Interfaces:
- Runnable
public class LinkSubgraphLayoutManager2
- extends GemLayoutManager
This subclass overrides some of GemLayoutManager's default settings,
resulting in a usually reasonable layout configuration in a much shorter
amount of time.
| Fields inherited from class info.aduna.linkmap.layout.GemLayoutManager |
DEFAULT_ADAPTATION_DECREASE_FACTOR, DEFAULT_ADAPTATION_DECREASE_THRESHOLD, DEFAULT_ADAPTATION_INCREASE_FACTOR, DEFAULT_ADAPTATION_INCREASE_THRESHOLD, DEFAULT_ARRANGE_ADAPTATION, DEFAULT_ARRANGE_GRAVITY, DEFAULT_ARRANGE_MAX_ROUNDS, DEFAULT_ARRANGE_MAXIMUM_HEAT, DEFAULT_ARRANGE_MOVE_STRATEGY, DEFAULT_ARRANGE_OSCILLATION, DEFAULT_ARRANGE_ROTATION, DEFAULT_ARRANGE_SHAKE, DEFAULT_ARRANGE_START_HEAT, DEFAULT_ARRANGE_STOP_AVG_SQR_MOVEMENT, DEFAULT_ARRANGE_STOP_HEAT, DEFAULT_EDGE_LENGTH, DEFAULT_EDGE_REPULSION_REGION, DEFAULT_INSERT_ADAPTATION, DEFAULT_INSERT_GRAVITY, DEFAULT_INSERT_MAX_ITERATION, DEFAULT_INSERT_MAXIMUM_HEAT, DEFAULT_INSERT_MOVE_STRATEGY, DEFAULT_INSERT_OSCILLATION, DEFAULT_INSERT_ROTATION, DEFAULT_INSERT_SHAKE, DEFAULT_INSERT_START_HEAT, DEFAULT_INSERT_STOP_HEAT, DEFAULT_MAX_ATTRACTION, DEFAULT_OPTIMIZE_ADAPTATION, DEFAULT_OPTIMIZE_GRAVITY, DEFAULT_OPTIMIZE_MAX_ROUNDS, DEFAULT_OPTIMIZE_MAXIMUM_HEAT, DEFAULT_OPTIMIZE_MOVE_STRATEGY, DEFAULT_OPTIMIZE_OSCILLATION, DEFAULT_OPTIMIZE_ROTATION, DEFAULT_OPTIMIZE_SHAKE, DEFAULT_OPTIMIZE_START_HEAT, DEFAULT_OPTIMIZE_STOP_AVG_SQR_MOVEMENT, DEFAULT_OPTIMIZE_STOP_HEAT, DEFAULT_RANDOM_SEED |
| Methods inherited from class info.aduna.linkmap.layout.GemLayoutManager |
addListener, createLayoutConverter, doLayout, getAdaptationDecreaseFactor, getAdaptationDecreaseThreshold, getAdaptationIncreaseFactor, getAdaptationIncreaseThreshold, getEdgeLength, getEdgeRepulsionRegion, getGravity, getMaxEffort, getMaximumAttraction, getMaximumHeat, getMoveStrategy, getOscillation, getRandomSeed, getRotation, getRound, getShake, getStartAdaptation, getStartHeat, getStopAvgSquaredMovement, getStopHeat, initialize, removeListener, setAdaptationDecreaseFactor, setAdaptationDecreaseThreshold, setAdaptationIncreaseFactor, setAdaptationIncreaseThreshold, setDefaultAdaptationChangeParameters, setEdgeLength, setEdgeRepulsionRegion, setGravity, setMaxEffort, setMaximumAttraction, setMaximumHeat, setMoveStrategy, setOscillation, setRandomSeed, setRotation, setShake, setStartAdaptation, setStartHeat, setStopAvgSquaredMovement, setStopHeat, stop |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LinkSubgraphLayoutManager2
public LinkSubgraphLayoutManager2()
setDefaultPhaseParameters
public void setDefaultPhaseParameters()
- Overrides:
setDefaultPhaseParameters in class GemLayoutManager
setDefaultForceParameters
public void setDefaultForceParameters()
- Overrides:
setDefaultForceParameters in class GemLayoutManager
setDefaultMoveParameters
public void setDefaultMoveParameters()
- Overrides:
setDefaultMoveParameters in class GemLayoutManager
setReusableLayoutVertices
public void setReusableLayoutVertices(List<Vertex> vertices)
insert
public void insert(GemLayoutManager.VertexAttribute[] attributes)
- Description copied from class:
GemLayoutManager
- Gives the layout a quick initial layout, by inserting the vertices one by
one and moving them (and not the whole graph!) for a few iterations. The
result is an initial layout which, although aesthetically undesirable, is
untangled pretty well and should be easy to get into a reasonable local
minimum.
This method currently completely ignores the current layout of the graph.
- Overrides:
insert in class GemLayoutManager
Copyright © 1997-2008 Aduna. All Rights Reserved.