Package aud.util
Class Graphviz
java.lang.Object
aud.util.Graphviz
Use GraphViz to render graph structures.
Requires an installation of GraphViz.
- See Also:
-
Sys
Sys.ExternalProgram
Graphvizable
DotViewer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondisplay
(Graphvizable object) Displayobject
.Render and displaydotCode
.void
displayAsPDF
(Graphvizable object) Displayobject
.void
displayAsPDF
(String dotCode) Render and displaydotCode
.renderDotFileToFile
(File dotfile, String format) Render dot file.
-
Constructor Details
-
Graphviz
public Graphviz()
-
-
Method Details
-
renderDotFileToFile
Render dot file.Excutes GraphViz dot and writes an output file
ditfile+"."+format
. -
displayAsPDF
Render and displaydotCode
.\bug The generated PDF file is not removed! (There is no portable and trivial way to ensure removal.)
-
displayAsPDF
Displayobject
.- See Also:
-
display
Render and displaydotCode
.- Returns:
- viewer instance
-
display
Displayobject
.- Returns:
- viewer instance
-