Package aud.util
Class Graphviz
java.lang.Object
aud.util.Graphviz
Use GraphViz to render graph structures.
Requires an installation of GraphViz.
- See Also:
-
SysSys.ExternalProgramGraphvizableDotViewer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondisplay(Graphvizable object) Displayobject.Render and displaydotCode.voiddisplayAsPDF(Graphvizable object) Displayobject.voiddisplayAsPDF(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
-