public class DotMaker
extends java.lang.Object
Constructor and Description |
---|
DotMaker() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
makeDotForBinaryTree(TreeNode root)
Creates a dot string for a binary tree.
|
static java.lang.String |
makeDotForGraph(Graph graph)
Creates a dot string for a graph.
|
static java.lang.String |
makeDotForHashtable(Element[] hashtable)
Creates a dot string for a hashtable.
|
static java.lang.String |
makeDotForHashtable(Element[] hashtable,
float width)
Creates a dot string for a hashtable.
|
static java.lang.String |
makeDotForHeap(char[] values)
Creates a dot string which represents the heap.
|
static java.lang.String |
makeDotForHeap(java.lang.Object[] values)
Creates a dot string which represents the heap.
|
public static java.lang.String makeDotForBinaryTree(TreeNode root)
public static java.lang.String makeDotForHeap(char[] values)
public static java.lang.String makeDotForHeap(java.lang.Object[] values)
public static java.lang.String makeDotForGraph(Graph graph)
public static java.lang.String makeDotForHashtable(Element[] hashtable)
public static java.lang.String makeDotForHashtable(Element[] hashtable, float width)