infovis.graph
Class OutDegree

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

public class OutDegree
extends Object
implements GraphChangedListener

Column containing the number of outgoing edges from 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 OUTDEGREE_COLUMN
          Name of the optional Column containing the number of outgoing edges.
 
Method Summary
static IntColumn getColumn(Graph graph)
          Returns the out 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

OUTDEGREE_COLUMN

public static final String OUTDEGREE_COLUMN
Name of the optional Column containing the number of outgoing 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 out degree column associated with a graph, creating it if required.

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


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