|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.orsay.lri.varna.models.treealign.TreeGraphviz
public class TreeGraphviz
This class translates a Tree to a graphviz file.
Constructor Summary | |
---|---|
TreeGraphviz()
|
Method Summary | |
---|---|
private static String |
subtreeToGraphviz(Tree<? extends GraphvizDrawableNodeValue> tree)
|
static String |
treeToGraphviz(Tree<? extends GraphvizDrawableNodeValue> tree,
String title)
Creates a graphviz source from a Tree. |
static void |
treeToGraphvizFile(Tree<? extends GraphvizDrawableNodeValue> tree,
String filename)
Like treeToGraphvizFile(Tree,String,String) but with the title equal to the filename. |
static void |
treeToGraphvizFile(Tree<? extends GraphvizDrawableNodeValue> tree,
String filename,
String title)
Creates a graphviz source file from a Tree. |
static void |
treeToGraphvizPostscript(Tree<? extends GraphvizDrawableNodeValue> tree,
String filename)
Like treeToGraphvizPostscript(Tree,String,String) but with the title equal to the filename. |
static void |
treeToGraphvizPostscript(Tree<? extends GraphvizDrawableNodeValue> tree,
String filename,
String title)
Generates a PostScript file using graphviz. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TreeGraphviz()
Method Detail |
---|
public static void treeToGraphvizPostscript(Tree<? extends GraphvizDrawableNodeValue> tree, String filename, String title) throws IOException
IOException
public static void treeToGraphvizPostscript(Tree<? extends GraphvizDrawableNodeValue> tree, String filename) throws IOException
IOException
public static void treeToGraphvizFile(Tree<? extends GraphvizDrawableNodeValue> tree, String filename, String title) throws IOException
title
- the title of the graph
IOException
public static void treeToGraphvizFile(Tree<? extends GraphvizDrawableNodeValue> tree, String filename) throws IOException
IOException
public static String treeToGraphviz(Tree<? extends GraphvizDrawableNodeValue> tree, String title)
title
- the title of the graphprivate static String subtreeToGraphviz(Tree<? extends GraphvizDrawableNodeValue> tree)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |