net.claribole.zgrviewer.dot
Class Cluster

java.lang.Object
  extended bynet.claribole.zgrviewer.dot.Node
      extended bynet.claribole.zgrviewer.dot.SubGraph
          extended bynet.claribole.zgrviewer.dot.Cluster

public class Cluster
extends SubGraph

A cluster is more or less a subgraph.

Author:
Eric Mounhem

Constructor Summary
Cluster(java.lang.Object root)
           
Cluster(java.lang.Object root, java.lang.String id)
          Create a cluster
 
Methods inherited from class net.claribole.zgrviewer.dot.SubGraph
addEdge, addNode, changeOption, removeEdge, removeNode, toString
 
Methods inherited from class net.claribole.zgrviewer.dot.Node
addInEdge, addOutEdge, getIn, getOut, getRootGraph, nodeOptions, printOption, printOption, printOption, printOption, removeInEdge, removeOutEdge
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Cluster

public Cluster(java.lang.Object root,
               java.lang.String id)
        throws java.lang.Exception
Create a cluster

Parameters:
root - root graph
id - identificator of the Cluster
Throws:
java.lang.Exception - Exception thrown when no id is given

Cluster

public Cluster(java.lang.Object root)
        throws java.lang.Exception


Copyright © 2004-2005 INRIA. All Rights Reserved
Licensed under the GNU LGPL. For full terms see the file COPYING.