public class Eades84Layout
extends org.graphstream.stream.PipeBase
implements org.graphstream.ui.layout.Layout
Constructor and Description |
---|
Eades84Layout() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
void |
compute() |
void |
edgeAdded(String sourceId,
long timeId,
String edgeId,
String fromNodeId,
String toNodeId,
boolean directed) |
void |
edgeRemoved(String sourceId,
long timeId,
String edgeId) |
void |
freezeNode(String id,
boolean frozen) |
double |
getForce() |
org.graphstream.ui.geom.Point3 |
getHiPoint() |
long |
getLastStepTime() |
String |
getLayoutAlgorithmName() |
org.graphstream.ui.geom.Point3 |
getLowPoint() |
int |
getNodeMovedCount() |
double |
getQuality() |
double |
getStabilization() |
double |
getStabilizationLimit() |
int |
getSteps() |
void |
inputPos(String filename) |
static void |
main(String... args) |
void |
moveNode(String id,
double x,
double y,
double z) |
void |
nodeAdded(String sourceId,
long timeId,
String nodeId) |
void |
nodeRemoved(String sourceId,
long timeId,
String nodeId) |
void |
outputPos(String filename) |
void |
particleMoved(Object id,
double x,
double y,
double z) |
void |
setForce(double value) |
void |
setQuality(double qualityLevel) |
void |
setSendNodeInfos(boolean send) |
void |
setStabilizationLimit(double l) |
void |
shake() |
edgeAttributeAdded, edgeAttributeChanged, edgeAttributeRemoved, graphAttributeAdded, graphAttributeChanged, graphAttributeRemoved, graphCleared, nodeAttributeAdded, nodeAttributeChanged, nodeAttributeRemoved, stepBegins
addAttributeSink, addElementSink, addSink, attributeSinks, clearAttributeSinks, clearElementSinks, clearSinks, elementSinks, removeAttributeSink, removeElementSink, removeSink, sendAttributeChangedEvent, sendAttributeChangedEvent, sendEdgeAdded, sendEdgeAdded, sendEdgeAttributeAdded, sendEdgeAttributeAdded, sendEdgeAttributeChanged, sendEdgeAttributeChanged, sendEdgeAttributeRemoved, sendEdgeAttributeRemoved, sendEdgeRemoved, sendEdgeRemoved, sendGraphAttributeAdded, sendGraphAttributeAdded, sendGraphAttributeChanged, sendGraphAttributeChanged, sendGraphAttributeRemoved, sendGraphAttributeRemoved, sendGraphCleared, sendGraphCleared, sendNodeAdded, sendNodeAdded, sendNodeAttributeAdded, sendNodeAttributeAdded, sendNodeAttributeChanged, sendNodeAttributeChanged, sendNodeAttributeRemoved, sendNodeAttributeRemoved, sendNodeRemoved, sendNodeRemoved, sendStepBegins, sendStepBegins
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addAttributeSink, addElementSink, addSink, clearAttributeSinks, clearElementSinks, clearSinks, removeAttributeSink, removeElementSink, removeSink
public String getLayoutAlgorithmName()
getLayoutAlgorithmName
in interface org.graphstream.ui.layout.Layout
public int getNodeMovedCount()
getNodeMovedCount
in interface org.graphstream.ui.layout.Layout
public double getStabilization()
getStabilization
in interface org.graphstream.ui.layout.Layout
public double getStabilizationLimit()
getStabilizationLimit
in interface org.graphstream.ui.layout.Layout
public void setStabilizationLimit(double l)
setStabilizationLimit
in interface org.graphstream.ui.layout.Layout
public org.graphstream.ui.geom.Point3 getLowPoint()
getLowPoint
in interface org.graphstream.ui.layout.Layout
public org.graphstream.ui.geom.Point3 getHiPoint()
getHiPoint
in interface org.graphstream.ui.layout.Layout
public int getSteps()
getSteps
in interface org.graphstream.ui.layout.Layout
public long getLastStepTime()
getLastStepTime
in interface org.graphstream.ui.layout.Layout
public double getQuality()
getQuality
in interface org.graphstream.ui.layout.Layout
public double getForce()
getForce
in interface org.graphstream.ui.layout.Layout
public void clear()
clear
in interface org.graphstream.ui.layout.Layout
public void setForce(double value)
setForce
in interface org.graphstream.ui.layout.Layout
public void setQuality(double qualityLevel)
setQuality
in interface org.graphstream.ui.layout.Layout
public void setSendNodeInfos(boolean send)
setSendNodeInfos
in interface org.graphstream.ui.layout.Layout
public void shake()
shake
in interface org.graphstream.ui.layout.Layout
public void moveNode(String id, double x, double y, double z)
moveNode
in interface org.graphstream.ui.layout.Layout
public void freezeNode(String id, boolean frozen)
freezeNode
in interface org.graphstream.ui.layout.Layout
public void compute()
compute
in interface org.graphstream.ui.layout.Layout
public void nodeAdded(String sourceId, long timeId, String nodeId)
nodeAdded
in interface org.graphstream.stream.ElementSink
nodeAdded
in class org.graphstream.stream.PipeBase
public void nodeRemoved(String sourceId, long timeId, String nodeId)
nodeRemoved
in interface org.graphstream.stream.ElementSink
nodeRemoved
in class org.graphstream.stream.PipeBase
public void edgeAdded(String sourceId, long timeId, String edgeId, String fromNodeId, String toNodeId, boolean directed)
edgeAdded
in interface org.graphstream.stream.ElementSink
edgeAdded
in class org.graphstream.stream.PipeBase
public void edgeRemoved(String sourceId, long timeId, String edgeId)
edgeRemoved
in interface org.graphstream.stream.ElementSink
edgeRemoved
in class org.graphstream.stream.PipeBase
public void inputPos(String filename) throws IOException
IOException
public void outputPos(String filename) throws IOException
IOException
public void particleMoved(Object id, double x, double y, double z)
public static void main(String... args)
Copyright © 2015. All rights reserved.