|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.fluxion.runcible.graph.view.factory.DotGraphViewFactory
public class DotGraphViewFactory
A type of GraphViewFactory
that generates Graph
s in a format
suitable for use in dot. For more on the dot syntax, see http://www.graphviz.org/doc/info/lang.html.
When getGraphView()
is called, a DotGraphView
object will be
returned which can then, in turn, be used to generate a graph image using the
GraphViz suite of tools.
DotGraphView
Constructor Summary | |
---|---|
DotGraphViewFactory()
|
Method Summary | |
---|---|
ColorScheme |
getColorScheme()
Get the ColorScheme being
used for the produced Graph . |
GraphView |
getGraphView()
Return the GraphView produced by this Factory |
java.util.Set<Node> |
getHiddenNodes()
|
void |
setColorScheme(ColorScheme colorScheme)
Sets the ColorScheme to use for the produced Graph |
void |
setHiddenNodes(java.util.Set<Node> hiddenNodes)
|
void |
visit(Graph graph)
Visits the supplied Graph . |
protected void |
walkGraph(Graph graph,
NodeView parent,
Edge edge,
java.util.Set<Node> alreadyDone)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DotGraphViewFactory()
Method Detail |
---|
public GraphView getGraphView()
getGraphView
in interface GraphViewFactory
public ColorScheme getColorScheme()
ColorScheme
being
used for the produced Graph
.
ColorScheme
being
usedpublic void setColorScheme(ColorScheme colorScheme)
ColorScheme
to use for the produced Graph
colorScheme
- the ColorScheme
to usepublic java.util.Set<Node> getHiddenNodes()
public void setHiddenNodes(java.util.Set<Node> hiddenNodes)
public void visit(Graph graph)
GraphVisitor
Graph
.
visit
in interface GraphVisitor
graph
- the Graph
to visitprotected void walkGraph(Graph graph, NodeView parent, Edge edge, java.util.Set<Node> alreadyDone)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |