Gephi Toolkit Javadoc

org.gephi.graph.api
Interface GraphEventData


public interface GraphEventData

Wrap graph event elements, like added nodes.

Author:
Mathieu Bastian
See Also:
GraphEvent

Method Summary
 Edge[] addedEdges()
          Returns edges added to the graph.
 Node[] addedNodes()
          Returns nodes added to the graph.
 GraphView destroyView()
          Returns the view destroyed in the model.
 Node[] expandedNodes()
          Returns nodes expanded in the graph hierarchy.
 Node[] movedNodes()
          Returns nodes moved in the graph hierarchy, their parent node has changed.
 GraphView newView()
          Returns the new view created in the model.
 Edge[] removedEdges()
          Returns edges removed from the graph.
 Node[] removedNodes()
          Returns nodes removed from the graph.
 Node[] retractedNodes()
          Returns nodes retracted in the graph hierarchy.
 GraphView visibleView()
          Returns the current visible view.
 

Method Detail

addedNodes

Node[] addedNodes()
Returns nodes added to the graph.

Returns:
added nodes, or null if the event is not ADD_NODES

removedNodes

Node[] removedNodes()
Returns nodes removed from the graph.

Returns:
removed nodes, or null if the event is not REMOVE_NODES

addedEdges

Edge[] addedEdges()
Returns edges added to the graph.

Returns:
added edges, or null if the event is not ADD_EDGES

removedEdges

Edge[] removedEdges()
Returns edges removed from the graph.

Returns:
removed edges, or null if the event is not REMOVE_EDGES

expandedNodes

Node[] expandedNodes()
Returns nodes expanded in the graph hierarchy.

Returns:
expanded nodes, or null if the event is not EXPAND

retractedNodes

Node[] retractedNodes()
Returns nodes retracted in the graph hierarchy.

Returns:
retracted nodes, or null if the event is not RETRACT

movedNodes

Node[] movedNodes()
Returns nodes moved in the graph hierarchy, their parent node has changed.

Returns:
moved nodes, or null if the event is not MOVE_NODES

newView

GraphView newView()
Returns the new view created in the model.

Returns:
the new view, or null if the event is not NEW_VIEW

destroyView

GraphView destroyView()
Returns the view destroyed in the model.

Returns:
the destroyed view, or null if the event is not DESTROY_VIEW

visibleView

GraphView visibleView()
Returns the current visible view.

Returns:
the visible view, or null if the event is not VISIBLE_VIEW

Gephi Toolkit Javadoc