Click or drag to resize

EventGraph Class

An eventInnerTinkerGrapĥ is a wrapper to existing Graph implementations and provides for graph events to be raised to one or more listeners on changes to the Graph. Notifications to the listeners occur for the following events: new vertex/edge, vertex/edge property changed, vertex/edge property removed, vertex/edge removed. The limiting factor to events being raised is related to out-of-process functions changing graph elements. To gather events from eventInnerTinkerGrapĥ, simply provide an implementation of the {@link GraphChangedListener} to the eventInnerTinkerGrapĥ by utilizing the addListener method. eventInnerTinkerGrapĥ allows the addition of multiple GraphChangedListener implementations. Each listener will be notified in the order that it was added.
Inheritance Hierarchy

Namespace:  VelocityGraph.Frontenac.Blueprints.Util.Wrappers.Event
Assembly:  VelocityGraph (in VelocityGraph.dll) Version: 11.1.0.0 (11.1)
Syntax
public class EventGraph : IGraph, IWrapperGraph, 
	IDisposable

The EventGraph type exposes the following members.

Constructors
  NameDescription
Public methodEventGraph
Initializes a new instance of the EventGraph class
Top
Properties
  NameDescription
Public propertyFeatures
Top
Methods
Extension Methods
  NameDescription
Public Extension MethodAddEdge
Add an edge to the graph with specified id and provided properties.
(Defined by GraphHelpers.)
Public Extension MethodAddVertex
Add a vertex to the graph with specified id and provided properties.
(Defined by GraphHelpers.)
Public Extension MethodCopyGraph
Copy the vertex/edges of one graph over to another graph. The id of the elements in the from graph are attempted to be used in the to graph. This method only works for graphs where the user can control the element ids.
(Defined by GraphHelpers.)
Public Extension MethodCreateTinkerGraph (Defined by GraphHelpers.)
Public Extension MethodGraphString (Defined by StringFactory.)
Public Extension MethodLoadGml (Defined by GraphHelpers.)
Public Extension MethodLoadGraphml (Defined by GraphHelpers.)
Public Extension MethodLoadGraphson (Defined by GraphHelpers.)
Public Extension MethodReIndexElementsT
For those graphs that do no support automatic reindexing of elements when a key is provided for indexing, this method can be used to simulate that behavior. The elements in the graph are iterated and their properties (for the provided keys) are removed and then added. Be sure that the key indices have been created prior to calling this method so that they can pick up the property mutations calls. Finally, if the graph is a TransactionalGraph, then a 1000 mutation buffer is used for each commit.
(Defined by KeyIndexableGraphHelpers.)
Public Extension MethodSaveDotNet (Defined by GraphHelpers.)
Public Extension MethodSaveGml (Defined by GraphHelpers.)
Public Extension MethodSaveGraphml (Defined by GraphHelpers.)
Public Extension MethodSaveGraphson (Defined by GraphHelpers.)
Top
See Also