public class GEXF extends PipeBase implements GEXFElement
SourceBase.ElementType
GEXFElement.AttrType, GEXFElement.ClassType, GEXFElement.DefaultEdgeType, GEXFElement.Extension, GEXFElement.IDType, GEXFElement.Mode, GEXFElement.TimeFormat
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
VERSION |
static java.lang.String |
XMLNS |
static java.lang.String |
XMLNS_SL |
static java.lang.String |
XMLNS_VIZ |
static java.lang.String |
XMLNS_XSI |
Constructor and Description |
---|
GEXF() |
Modifier and Type | Method and Description |
---|---|
void |
disable(GEXFElement.Extension ext) |
void |
enable(GEXFElement.Extension ext) |
void |
export(SmartXMLWriter stream) |
GEXFElement.TimeFormat |
getTimeFormat() |
boolean |
isExtensionEnable(GEXFElement.Extension ext) |
void |
stepBegins(java.lang.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.
|
edgeAdded, edgeAttributeAdded, edgeAttributeChanged, edgeAttributeRemoved, edgeRemoved, graphAttributeAdded, graphAttributeChanged, graphAttributeRemoved, graphCleared, nodeAdded, nodeAttributeAdded, nodeAttributeChanged, nodeAttributeRemoved, nodeRemoved
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 static final java.lang.String XMLNS
public static final java.lang.String XMLNS_XSI
public static final java.lang.String XMLNS_SL
public static final java.lang.String XMLNS_VIZ
public static final java.lang.String VERSION
public GEXFElement.TimeFormat getTimeFormat()
public boolean isExtensionEnable(GEXFElement.Extension ext)
public void disable(GEXFElement.Extension ext)
public void enable(GEXFElement.Extension ext)
public void export(SmartXMLWriter stream) throws javax.xml.stream.XMLStreamException
export
in interface GEXFElement
javax.xml.stream.XMLStreamException
public void stepBegins(java.lang.String sourceId, long timeId, double step)
ElementSink
Since 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.
stepBegins
in interface ElementSink
stepBegins
in class PipeBase
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.