Class GEXF

All Implemented Interfaces:
AttributeSink, ElementSink, GEXFElement, Pipe, Sink, Source

public class GEXF
extends PipeBase
implements GEXFElement
  • Field Details

  • Constructor Details

    • GEXF

      public GEXF()
  • Method Details

    • getTimeFormat

      public GEXFElement.TimeFormat getTimeFormat()
    • isExtensionEnable

      public boolean isExtensionEnable​(GEXFElement.Extension ext)
    • disable

      public void disable​(GEXFElement.Extension ext)
    • enable

      public void enable​(GEXFElement.Extension ext)
    • export

      public void export​(SmartXMLWriter stream) throws XMLStreamException
      Specified by:
      export in interface GEXFElement
      Throws:
      XMLStreamException
    • stepBegins

      public void stepBegins​(String sourceId, long timeId, double step)
      Description copied from interface: 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.

      Specified by:
      stepBegins in interface ElementSink
      Overrides:
      stepBegins in class PipeBase
      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.