public class HierarchicalLayouter
extends prefuse.action.layout.Layout
Modifier and Type | Class and Description |
---|---|
static class |
HierarchicalLayouter.EdgeParams
Wrapper class holding edge parameters used for each edge in this layout.
|
static class |
HierarchicalLayouter.NodeParams
Wrapper class holding node parameters used for each node in this layout.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
EDGE_PARAMS
The data field in which the edge parameters used by this layout are
stored.
|
static prefuse.data.Schema |
EDGE_PARAMS_SCHEMA
The schema for the edge parameters used by this layout.
|
static java.lang.String |
NODE_PARAMS
The data field in which the node parameters used by this layout are
stored.
|
static prefuse.data.Schema |
NODE_PARAMS_SCHEMA
The schema for the edge parameters used by this layout.
|
Constructor and Description |
---|
HierarchicalLayouter(java.lang.String group) |
getLayoutAnchor, getLayoutBounds, setLayoutAnchor, setLayoutBounds, setMargin, setX, setY
addActivityListener, alwaysRunAfter, cancel, fireActivityCancelled, fireActivityFinished, fireActivityScheduled, fireActivityStarted, fireActivityStepped, getDuration, getNextTime, getPace, getPacingFunction, getStartTime, getStepTime, getStopTime, isEnabled, isRunning, isScheduled, removeActivityListener, run, runAfter, runAt, setDuration, setEnabled, setPacingFunction, setStartTime, setStepTime
public static final java.lang.String NODE_PARAMS
public static final java.lang.String EDGE_PARAMS
public static final prefuse.data.Schema NODE_PARAMS_SCHEMA
public static final prefuse.data.Schema EDGE_PARAMS_SCHEMA
public void run(double frac)
run
in class prefuse.action.GroupAction
public LayeringStrategy getLayeringStrategy()
public void setLayeringStrategy(LayeringStrategy layeringStrategy)
public void setSequencingStrategy(SequencingStrategy sequencingStragety)
public SequencingStrategy getSequencingStrategy()
public void setEmplacingStrategy(EmplacingStrategy emplacingStrategy)
public EmplacingStrategy getEmplacingStrategy()
public LayoutOrientation getLayoutOrientation()
public void setLayoutOrientation(LayoutOrientation orientation)
public void setSimplifierEnable(boolean enable)
public boolean isSimplifierEnable()
public void setSimplifyShortEdgesEnabled(boolean enabled)
public boolean isSimplifyShortEdgesEnabled()
public int getSimplifierCrossingThreshold()
public void setSimplifierCrossingThreshold(int crossingThreshold)
public int getSimplifierTotalCrossingThreshold()
public void setSimplifierTotalCrossingThreshold(int totalCrossingThreshold)
public int getSimplifierMaxLoops()
public void setSimplifierMaxLoops(int maxLoops)
public int getIntracellSpacing()
public void setIntracellSpacing(int intracellSpacing)
public int getLayerSpacing()
public void setLayerSpacing(int layerSpacing)
public float getEdgeLandingOffset()
public void setEdgeLandingOffset(float edgeLandingOffset)
public boolean isSimplifySameLayer()
public void setSimplifySameLayer(boolean simplifySameLayer)
public LineType getLineType()
public void setLineType(LineType lineType)
public HierarchicalLayoutContext getContext()
public boolean isEdgeDirectionEnabled()
public void setEdgeDirectionEnabled(boolean enabled)
public boolean isFirstStagesEnabled()
public void setFirstStagesEnabled(boolean enabled)
public static HierarchicalLayouter.NodeParams getNodeParams(prefuse.data.Node n)
public static HierarchicalLayouter.EdgeParams getEdgeParams(prefuse.data.Edge e)
public void setSimplifyLongEdgesEnabled(boolean enabled)
public boolean isSimplifyLongEdgesEnabled()
public boolean isReorderNodesEnabled()
public void setReorderNodesEnabled(boolean enabled)