infovis.graph
Class InDegree

java.lang.Object
  extended by infovis.graph.InDegree
All Implemented Interfaces:
GraphChangedListener, EventListener

public class InDegree
extends Object
implements GraphChangedListener

Column containing the number of incident edges of each vertex of the Graph.

This column is automatically maintained by the ColumnLink mechanism.

Version:
$Revision: 1.15 $
Author:
Jean-Daniel Fekete

Field Summary
static String INDEGREE_COLUMN
          Name of the optional Column containing the number of incident edges.
 
Method Summary
static IntColumn getColumn(Graph graph)
          Returns the in degree column associated with a graph, creating it if required.
 void graphChanged(GraphChangedEvent e)
           
 void update()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INDEGREE_COLUMN

public static final String INDEGREE_COLUMN
Name of the optional Column containing the number of incident edges.

See Also:
Constant Field Values
Method Detail

graphChanged

public void graphChanged(GraphChangedEvent e)
Specified by:
graphChanged in interface GraphChangedListener

update

public void update()

getColumn

public static IntColumn getColumn(Graph graph)
Returns the in degree column associated with a graph, creating it if required.

Parameters:
graph - the graph.
Returns:
the in degree column associated with the graph.


Copyright © 2005 by Jean-Daniel Fekete and INRIA, France All rights reserved.