org.grinvin.graphs
Class EmbeddingModelSupport
java.lang.Objectorg.grinvin.graphs.EmbeddingModelSupport
public class EmbeddingModelSupport
extends java.lang.Object
Helper class for implementations of
EmbeddingModel.
Models can delegate listener management and notification to
an object of this class.
fireCoordinatesChanged
public void fireCoordinatesChanged(Vertex vertex)
Notify all listeners of the fact that coordinates of a vertex
were changed.
fireDimensionChanged
public void fireDimensionChanged(int oldDimension)
Notify all listeners of the fact that the dimension of the embedding
was changed.
fireEmbeddingChanged
public void fireEmbeddingChanged()
Notify all listeners of a bulk change to this embedding.