| Constructor and Description |
|---|
ForceAtlas2(ForceAtlas2Builder layoutBuilder) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canAlgo()
Tests if the algorithm can run, called before each pass.
|
void |
endAlgo()
Called when the algorithm is finished (canAlgo() returns false).
|
Double |
getBarnesHutTheta() |
LayoutBuilder |
getBuilder()
The reference to the LayoutBuilder that instanciated this Layout.
|
Double |
getEdgeWeightInfluence() |
Double |
getGravity() |
Double |
getJitterTolerance() |
LayoutProperty[] |
getProperties()
The properties for this layout.
|
Double |
getScalingRatio() |
Integer |
getThreadsCount() |
void |
goAlgo()
Run a step in the algorithm, should be called only if canAlgo() returns
true.
|
void |
initAlgo()
initAlgo() is called to initialize the algorithm (prepare to run).
|
Boolean |
isAdjustSizes() |
Boolean |
isBarnesHutOptimize() |
Boolean |
isLinLogMode() |
Boolean |
isOutboundAttractionDistribution() |
Boolean |
isStrongGravityMode() |
void |
resetPropertiesValues()
Resets the properties values to the default values.
|
void |
setAdjustSizes(Boolean adjustSizes) |
void |
setBarnesHutOptimize(Boolean barnesHutOptimize) |
void |
setBarnesHutTheta(Double barnesHutTheta) |
void |
setEdgeWeightInfluence(Double edgeWeightInfluence) |
void |
setGraphModel(org.gephi.graph.api.GraphModel graphModel)
Injects the graph model for the graph this Layout should operate on.
|
void |
setGravity(Double gravity) |
void |
setJitterTolerance(Double jitterTolerance) |
void |
setLinLogMode(Boolean linLogMode) |
void |
setOutboundAttractionDistribution(Boolean outboundAttractionDistribution) |
void |
setScalingRatio(Double scalingRatio) |
void |
setStrongGravityMode(Boolean strongGravityMode) |
void |
setThreadsCount(Integer threadCount) |
public ForceAtlas2(ForceAtlas2Builder layoutBuilder)
public void initAlgo()
Layoutpublic void goAlgo()
Layoutpublic boolean canAlgo()
Layoutpublic void endAlgo()
Layoutpublic LayoutProperty[] getProperties()
LayoutgetProperties in interface Layoutpublic void resetPropertiesValues()
LayoutresetPropertiesValues in interface Layoutpublic LayoutBuilder getBuilder()
LayoutgetBuilder in interface Layoutpublic void setGraphModel(org.gephi.graph.api.GraphModel graphModel)
LayoutIt's preferable to get visible graph to perform on visualization.
setGraphModel in interface LayoutgraphModel - the graph model that the layout is to be working onpublic Double getBarnesHutTheta()
public void setBarnesHutTheta(Double barnesHutTheta)
public Double getEdgeWeightInfluence()
public void setEdgeWeightInfluence(Double edgeWeightInfluence)
public Double getJitterTolerance()
public void setJitterTolerance(Double jitterTolerance)
public Boolean isLinLogMode()
public void setLinLogMode(Boolean linLogMode)
public Double getScalingRatio()
public void setScalingRatio(Double scalingRatio)
public Boolean isStrongGravityMode()
public void setStrongGravityMode(Boolean strongGravityMode)
public Double getGravity()
public void setGravity(Double gravity)
public Integer getThreadsCount()
public void setThreadsCount(Integer threadCount)
public Boolean isOutboundAttractionDistribution()
public void setOutboundAttractionDistribution(Boolean outboundAttractionDistribution)
public Boolean isAdjustSizes()
public void setAdjustSizes(Boolean adjustSizes)
public Boolean isBarnesHutOptimize()
public void setBarnesHutOptimize(Boolean barnesHutOptimize)
Copyright © 2007–2017. All rights reserved.