public class SiteGraph extends Object
Writer to output the dot content to, and then call
prepare().
// END SNIPPET: javadocs-api| Constructor and Description |
|---|
SiteGraph(String configDir,
String views,
String output,
String namespace) |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args) |
void |
prepare()
Prepares the dot generated content and writes out to the provided writer
object.
|
void |
render()
Invokes the dot command, cause GraphViz to render out.dot in the form of out.gif,
located in the specified output directory.
|
void |
setWriter(Writer writer) |
public static void main(String[] args) throws IOException
IOExceptionpublic void prepare()
FileWriter pointing to "out.dot"
in the specified output directly shall be used.public void render()
public void setWriter(Writer writer)
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.