public class GraphReplay extends SourceBase implements Source
The only method of this class is replay(Graph)
that takes a graph as
argument and :
Note that this is a source, not a pipe. This means that it has its own identifier and is a producer of "new" events. Also note that is does not export the dynamics of the graph, only its structure at the present time (the evolution of the graph is not stored in the graph, to produce a dynamic flow of events of the evolution of a graph you have to register the sinks in the graph itself just after its creation).
SourceBase.AddToListEvent<T>, SourceBase.AfterEdgeAddEvent, SourceBase.AfterNodeAddEvent, SourceBase.AttributeChangedEvent, SourceBase.BeforeEdgeRemoveEvent, SourceBase.BeforeGraphClearEvent, SourceBase.BeforeNodeRemoveEvent, SourceBase.ClearListEvent<T>, SourceBase.ElementType, SourceBase.GraphEvent, SourceBase.RemoveFromListEvent<T>, SourceBase.StepBeginsEvent
attrSinks, eltsSinks, eventProcessing, eventQueue, sourceId, sourceTime
Constructor and Description |
---|
GraphReplay(String id) |
Modifier and Type | Method and Description |
---|---|
void |
replay(Graph graph)
Echo each element and attribute of the graph to the registered sinks.
|
addAttributeSink, addElementSink, addSink, attributeSinks, clearAttributeSinks, clearElementSinks, clearSinks, elementSinks, manageEvents, 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addAttributeSink, addElementSink, addSink, clearAttributeSinks, clearElementSinks, clearSinks, removeAttributeSink, removeElementSink, removeSink
public GraphReplay(String id)
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses