thinkmap.graph.Graph

extends:
Jump To: Members Events

The Graph class is the center of Thinkmap visualization framework.

It represents a graph structure that consists of series of nodes connected by edges.

Constructor

Instance Methods

Defined in thinkmap.graph.Graph:

Events

addnode : function ( thinkmap.graph.Node )

This event is fired each time a node is added to the graph. The parameter is the node added.

addedge : function ( thinkmap.graph.Edge )

This event is fired each time an edge is added to the graph. The parameter is the edge added.

removenode : function ( thinkmap.graph.Node )

This event is fired each time a node is removed from the graph. The parameter is the node removed.

removeedge : function ( thinkmap.graph.Edge )

This event is fired each time an edge is removed from the graph. The parameter is the edge removed.

dataupdate : function ( thinkmap.graph.Entity )

This event is fired each time each time dataUpdate on graph is called. This typically signifies that some change occured to the entity's data object. The single parameter is the entity passed to the graphs dataUpdate method.