com.googlecode.sarasvati.visual.graph
Class AbstractLayoutTree<N>
java.lang.Object
com.googlecode.sarasvati.visual.graph.AbstractLayoutTree<N>
- Direct Known Subclasses:
- GraphLayoutTree
public abstract class AbstractLayoutTree<N>
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
nodeMap
protected Map<N,GraphLayoutNode<N>> nodeMap
AbstractLayoutTree
public AbstractLayoutTree()
getNodes
protected abstract Collection<N> getNodes()
getStartNodes
protected abstract Collection<N> getStartNodes()
hasNoInputs
protected abstract boolean hasNoInputs(N node)
getOutputs
protected abstract Collection<N> getOutputs(N node)
getInputs
protected abstract Collection<N> getInputs(N node)
init
public void init()
getTreeNode
public GraphLayoutNode<N> getTreeNode(N node)
isBackArc
public boolean isBackArc(N start,
N end)
Copyright © 2012. All Rights Reserved.