snap.graph
Class UIGraph

java.lang.Object
  |
  +--snap.graph.Graph
        |
        +--snap.graph.CoordinationGraph
              |
              +--snap.graph.UIGraph

public class UIGraph
extends CoordinationGraph

Graph used by the UI for manipulating coordinations.

Author:
Nathan Conklin - nathan@conklinfamily.net, Chris North - north@cs.vt.edu, Varun Saini - vsaini@vt.edu, Umer Farooq - ufarooq@vt.edu, Aniket Prabhune - aprabhun@vt.edu

Constructor Summary
UIGraph()
           
 
Method Summary
 java.lang.String addComponent(java.lang.String componentType, snap.adapter.TechnologyAdapter adapter)
          Assigns a unique name, generates a node, and adds a new technology adapter into the graph
 void removeComponent(java.lang.String componentName)
           
 
Methods inherited from class snap.graph.Graph
addGraphChangeEventListener, getMonitor, getNode, nodes, removeGraphChangeEventListener, removeNode, setNode
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UIGraph

public UIGraph()
Method Detail

addComponent

public java.lang.String addComponent(java.lang.String componentType,
                                     snap.adapter.TechnologyAdapter adapter)
Assigns a unique name, generates a node, and adds a new technology adapter into the graph


removeComponent

public void removeComponent(java.lang.String componentName)