public class GEXFEdges extends SinkAdapter implements GEXFElement
GEXFElement.AttrType, GEXFElement.ClassType, GEXFElement.DefaultEdgeType, GEXFElement.Extension, GEXFElement.IDType, GEXFElement.Mode, GEXFElement.TimeFormat| Modifier and Type | Method and Description |
|---|---|
void |
edgeAdded(String sourceId,
long timeId,
String edgeId,
String fromNodeId,
String toNodeId,
boolean directed)
An edge was inserted in graph.
|
void |
edgeAttributeAdded(String sourceId,
long timeId,
String edgeId,
String attribute,
Object value)
A edge attribute was added.
|
void |
edgeAttributeChanged(String sourceId,
long timeId,
String edgeId,
String attribute,
Object oldValue,
Object newValue)
A edge attribute was changed.
|
void |
edgeAttributeRemoved(String sourceId,
long timeId,
String edgeId,
String attribute)
A edge attribute was removed.
|
void |
edgeRemoved(String sourceId,
long timeId,
String edgeId)
An edge of graph was removed.The nodes the edge connects may already have
been removed from the graph.
|
void |
export(SmartXMLWriter stream) |
void |
graphCleared(String sourceId,
long timeId)
The whole graph was cleared.
|
graphAttributeAdded, graphAttributeChanged, graphAttributeRemoved, nodeAdded, nodeAttributeAdded, nodeAttributeChanged, nodeAttributeRemoved, nodeRemoved, stepBeginspublic GEXFEdges(GEXF root)
public void export(SmartXMLWriter stream) throws XMLStreamException
export in interface GEXFElementXMLStreamExceptionpublic void edgeAdded(String sourceId, long timeId, String edgeId, String fromNodeId, String toNodeId, boolean directed)
ElementSinkedgeAdded in interface ElementSinkedgeAdded in class SinkAdaptersourceId - Identifier of the graph where the edge was added.edgeId - Identifier of the added edge.fromNodeId - Identifier of the first node of the edge.toNodeId - Identifier of the second node of the edge.directed - If true, the edge is directed.public void edgeRemoved(String sourceId, long timeId, String edgeId)
ElementSinkedgeRemoved in interface ElementSinkedgeRemoved in class SinkAdaptersourceId - The graph where the edge will be removed.edgeId - The edge that will be removed.public void graphCleared(String sourceId, long timeId)
ElementSinkgraphCleared in interface ElementSinkgraphCleared in class SinkAdaptersourceId - The graph cleared.public void edgeAttributeAdded(String sourceId, long timeId, String edgeId, String attribute, Object value)
AttributeSinkedgeAttributeAdded in interface AttributeSinkedgeAttributeAdded in class SinkAdaptersourceId - Identifier of the graph where the change occurred.edgeId - Identifier of the edge whose attribute changed.attribute - The attribute name.value - The attribute new value.public void edgeAttributeChanged(String sourceId, long timeId, String edgeId, String attribute, Object oldValue, Object newValue)
AttributeSinkedgeAttributeChanged in interface AttributeSinkedgeAttributeChanged in class SinkAdaptersourceId - Identifier of the graph where the change occurred.edgeId - Identifier of the edge whose attribute changed.attribute - The attribute name.oldValue - The attribute old value.newValue - The attribute new value.public void edgeAttributeRemoved(String sourceId, long timeId, String edgeId, String attribute)
AttributeSinkedgeAttributeRemoved in interface AttributeSinkedgeAttributeRemoved in class SinkAdaptersourceId - Identifier of the graph where the attribute was removed.edgeId - Identifier of the edge whose attribute was removed.attribute - The removed attribute name.Copyright © 2015. All rights reserved.