Class DotUtil
java.lang.Object
com.ibm.wala.util.viz.DotUtil
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
possible output formats for dot -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> void
dotify
(Graph<T> g, NodeDecorator<T> labels, @Nullable String title, String dotFile, String outputFile, String dotExe) static <T> void
static <T> StringBuilder
dotOutput
(Graph<T> g, NodeDecorator<T> labels, @Nullable String title) static int
static DotUtil.DotOutputType
static void
setFontSize
(int fontSize) static void
setOutputType
(DotUtil.DotOutputType outType) static void
static <T> File
writeDotFile
(Graph<T> g, NodeDecorator<T> labels, @Nullable String title, String dotfile)
-
Constructor Details
-
DotUtil
public DotUtil()
-
-
Method Details
-
setOutputType
-
getOutputType
-
dotify
public static <T> void dotify(Graph<T> g, NodeDecorator<T> labels, String dotFile, String outputFile, String dotExe) throws WalaException - Type Parameters:
T
- the type of a graph node- Throws:
WalaException
-
dotify
public static <T> void dotify(Graph<T> g, NodeDecorator<T> labels, @Nullable String title, String dotFile, String outputFile, String dotExe) throws WalaException - Type Parameters:
T
- the type of a graph node- Throws:
WalaException
-
spawnDot
- Throws:
WalaException
-
writeDotFile
public static <T> File writeDotFile(Graph<T> g, NodeDecorator<T> labels, @Nullable String title, String dotfile) throws WalaException - Throws:
WalaException
-
dotOutput
public static <T> StringBuilder dotOutput(Graph<T> g, NodeDecorator<T> labels, @Nullable String title) throws WalaException - Returns:
- StringBuffer holding dot output representing G
- Throws:
WalaException
-
getFontSize
public static int getFontSize() -
setFontSize
public static void setFontSize(int fontSize)
-