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, stepBeginsaddAttributeSink, 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, sendStepBeginsequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddAttributeSink, addElementSink, addSink, clearAttributeSinks, clearElementSinks, clearSinks, removeAttributeSink, removeElementSink, removeSinkpublic String getLayoutAlgorithmName()
getLayoutAlgorithmName in interface org.graphstream.ui.layout.Layoutpublic int getNodeMovedCount()
getNodeMovedCount in interface org.graphstream.ui.layout.Layoutpublic double getStabilization()
getStabilization in interface org.graphstream.ui.layout.Layoutpublic double getStabilizationLimit()
getStabilizationLimit in interface org.graphstream.ui.layout.Layoutpublic void setStabilizationLimit(double l)
setStabilizationLimit in interface org.graphstream.ui.layout.Layoutpublic org.graphstream.ui.geom.Point3 getLowPoint()
getLowPoint in interface org.graphstream.ui.layout.Layoutpublic org.graphstream.ui.geom.Point3 getHiPoint()
getHiPoint in interface org.graphstream.ui.layout.Layoutpublic int getSteps()
getSteps in interface org.graphstream.ui.layout.Layoutpublic long getLastStepTime()
getLastStepTime in interface org.graphstream.ui.layout.Layoutpublic double getQuality()
getQuality in interface org.graphstream.ui.layout.Layoutpublic double getForce()
getForce in interface org.graphstream.ui.layout.Layoutpublic void clear()
clear in interface org.graphstream.ui.layout.Layoutpublic void setForce(double value)
setForce in interface org.graphstream.ui.layout.Layoutpublic void setQuality(double qualityLevel)
setQuality in interface org.graphstream.ui.layout.Layoutpublic void setSendNodeInfos(boolean send)
setSendNodeInfos in interface org.graphstream.ui.layout.Layoutpublic void shake()
shake in interface org.graphstream.ui.layout.Layoutpublic void moveNode(String id, double x, double y, double z)
moveNode in interface org.graphstream.ui.layout.Layoutpublic void freezeNode(String id, boolean frozen)
freezeNode in interface org.graphstream.ui.layout.Layoutpublic void compute()
compute in interface org.graphstream.ui.layout.Layoutpublic void nodeAdded(String sourceId, long timeId, String nodeId)
nodeAdded in interface org.graphstream.stream.ElementSinknodeAdded in class org.graphstream.stream.PipeBasepublic void nodeRemoved(String sourceId, long timeId, String nodeId)
nodeRemoved in interface org.graphstream.stream.ElementSinknodeRemoved in class org.graphstream.stream.PipeBasepublic void edgeAdded(String sourceId, long timeId, String edgeId, String fromNodeId, String toNodeId, boolean directed)
edgeAdded in interface org.graphstream.stream.ElementSinkedgeAdded in class org.graphstream.stream.PipeBasepublic void edgeRemoved(String sourceId, long timeId, String edgeId)
edgeRemoved in interface org.graphstream.stream.ElementSinkedgeRemoved in class org.graphstream.stream.PipeBasepublic void inputPos(String filename) throws IOException
IOExceptionpublic void outputPos(String filename) throws IOException
IOExceptionpublic void particleMoved(Object id, double x, double y, double z)
public static void main(String... args)
Copyright © 2015. All rights reserved.