com.googlecode.sarasvati.visual.graph
Class GraphLayoutTree

java.lang.Object
  extended by com.googlecode.sarasvati.visual.graph.AbstractLayoutTree<Node>
      extended by com.googlecode.sarasvati.visual.graph.GraphLayoutTree

public class GraphLayoutTree
extends AbstractLayoutTree<Node>


Field Summary
 
Fields inherited from class com.googlecode.sarasvati.visual.graph.AbstractLayoutTree
nodeMap
 
Constructor Summary
GraphLayoutTree(Graph graph)
           
 
Method Summary
protected  Collection<Node> getInputs(Node node)
           
protected  Collection<Node> getNodes()
           
protected  Collection<Node> getOutputs(Node node)
           
protected  Collection<Node> getStartNodes()
           
protected  boolean hasNoInputs(Node node)
           
 
Methods inherited from class com.googlecode.sarasvati.visual.graph.AbstractLayoutTree
getTreeNode, init, isBackArc
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphLayoutTree

public GraphLayoutTree(Graph graph)
Method Detail

getNodes

protected Collection<Node> getNodes()
Specified by:
getNodes in class AbstractLayoutTree<Node>

getStartNodes

protected Collection<Node> getStartNodes()
Specified by:
getStartNodes in class AbstractLayoutTree<Node>

getOutputs

protected Collection<Node> getOutputs(Node node)
Specified by:
getOutputs in class AbstractLayoutTree<Node>

getInputs

protected Collection<Node> getInputs(Node node)
Specified by:
getInputs in class AbstractLayoutTree<Node>

hasNoInputs

protected boolean hasNoInputs(Node node)
Specified by:
hasNoInputs in class AbstractLayoutTree<Node>


Copyright © 2012. All Rights Reserved.