public class ForceAtlasLayout3d
extends org.gephi.layout.plugin.AbstractLayout
implements org.gephi.layout.spi.Layout
Modifier and Type | Field and Description |
---|---|
protected org.gephi.graph.api.Graph |
graph |
double |
inertia |
Constructor and Description |
---|
ForceAtlasLayout3d(org.gephi.layout.spi.LayoutBuilder layoutBuilder) |
getBuilder, isConverged, setConverged, setGraphModel
public ForceAtlasLayout3d(org.gephi.layout.spi.LayoutBuilder layoutBuilder)
public void resetPropertiesValues()
resetPropertiesValues
in interface org.gephi.layout.spi.Layout
public void initAlgo()
initAlgo
in interface org.gephi.layout.spi.Layout
public void goAlgo()
goAlgo
in interface org.gephi.layout.spi.Layout
public void endAlgo()
endAlgo
in interface org.gephi.layout.spi.Layout
public boolean canAlgo()
canAlgo
in interface org.gephi.layout.spi.Layout
canAlgo
in class org.gephi.layout.plugin.AbstractLayout
public org.gephi.layout.spi.LayoutProperty[] getProperties()
getProperties
in interface org.gephi.layout.spi.Layout
public void setInertia(Double inertia)
public Double getInertia()
public Double getRepulsionStrength()
public void setRepulsionStrength(Double repulsionStrength)
repulsionStrength
- the repulsionStrength to setpublic Double getAttractionStrength()
public void setAttractionStrength(Double attractionStrength)
attractionStrength
- the attractionStrength to setpublic Double getMaxDisplacement()
public void setMaxDisplacement(Double maxDisplacement)
maxDisplacement
- the maxDisplacement to setpublic Boolean isFreezeBalance()
public void setFreezeBalance(Boolean freezeBalance)
freezeBalance
- the freezeBalance to setpublic Double getFreezeStrength()
public void setFreezeStrength(Double freezeStrength)
freezeStrength
- the freezeStrength to setpublic Double getFreezeInertia()
public void setFreezeInertia(Double freezeInertia)
freezeInertia
- the freezeInertia to setpublic Double getGravity()
public void setGravity(Double gravity)
gravity
- the gravity to setpublic Double getSpeed()
public void setSpeed(Double speed)
speed
- the speed to setpublic Double getCooling()
public void setCooling(Double cooling)
cooling
- the cooling to setpublic Boolean isOutboundAttractionDistribution()
public void setOutboundAttractionDistribution(Boolean outboundAttractionDistribution)
outboundAttractionDistribution
- the outboundAttractionDistribution to setpublic Boolean isAdjustSizes()
public void setAdjustSizes(Boolean adjustSizes)
adjustSizes
- the adjustSizes to setCopyright © 2018. All rights reserved.