Package org.graphstream.stream.file.gexf
Class GEXF
java.lang.Object
org.graphstream.stream.SourceBase
org.graphstream.stream.PipeBase
org.graphstream.stream.file.gexf.GEXF
- All Implemented Interfaces:
AttributeSink,ElementSink,GEXFElement,Pipe,Sink,Source
public class GEXF extends PipeBase implements GEXFElement
-
Nested Class Summary
Nested classes/interfaces inherited from class org.graphstream.stream.SourceBase
SourceBase.ElementTypeNested classes/interfaces inherited from interface org.graphstream.stream.file.gexf.GEXFElement
GEXFElement.AttrType, GEXFElement.ClassType, GEXFElement.DefaultEdgeType, GEXFElement.Extension, GEXFElement.IDType, GEXFElement.Mode, GEXFElement.TimeFormat -
Field Summary
-
Constructor Summary
Constructors Constructor Description GEXF() -
Method Summary
Modifier and Type Method Description voiddisable(GEXFElement.Extension ext)voidenable(GEXFElement.Extension ext)voidexport(SmartXMLWriter stream)GEXFElement.TimeFormatgetTimeFormat()booleanisExtensionEnable(GEXFElement.Extension ext)voidstepBegins(String sourceId, long timeId, double step)Since dynamic graphs are based on discrete event modifications, the notion of step is defined to simulate elapsed time between events.Methods inherited from class org.graphstream.stream.PipeBase
edgeAdded, edgeAttributeAdded, edgeAttributeChanged, edgeAttributeRemoved, edgeRemoved, graphAttributeAdded, graphAttributeChanged, graphAttributeRemoved, graphCleared, nodeAdded, nodeAttributeAdded, nodeAttributeChanged, nodeAttributeRemoved, nodeRemovedMethods inherited from class org.graphstream.stream.SourceBase
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, sendStepBeginsMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.graphstream.stream.Source
addAttributeSink, addElementSink, addSink, clearAttributeSinks, clearElementSinks, clearSinks, removeAttributeSink, removeElementSink, removeSink
-
Field Details
-
XMLNS
- See Also:
- Constant Field Values
-
XMLNS_XSI
- See Also:
- Constant Field Values
-
XMLNS_SL
- See Also:
- Constant Field Values
-
XMLNS_VIZ
- See Also:
- Constant Field Values
-
VERSION
- See Also:
- Constant Field Values
-
-
Constructor Details
-
GEXF
public GEXF()
-
-
Method Details
-
getTimeFormat
-
isExtensionEnable
-
disable
-
enable
-
export
- Specified by:
exportin interfaceGEXFElement- Throws:
XMLStreamException
-
stepBegins
Description copied from interface:ElementSinkSince dynamic graphs are based on discrete event modifications, the notion of step is defined to simulate elapsed time between events. So a step is a event that occurs in the graph, it does not modify it but it gives a kind of timestamp that allow the tracking of the progress of the graph over the time.
This kind of event is useful for dynamic algorithms that listen to the dynamic graph and need to measure the time in the graph's evolution.
- Specified by:
stepBeginsin interfaceElementSink- Overrides:
stepBeginsin classPipeBase- Parameters:
sourceId- Identifier of the graph where the step starts.timeId- A numerical value that may give a timestamp to track the evolution of the graph over the time.
-