List of all members.
Public Member Functions |
| GraphViz (Properties p) |
byte[] | getGraph (byte[] dot_source, String type) throws IOException |
byte[] | getGraph (File dot, String type) throws IOException |
Process | convert (String type) throws IOException |
Process | convert (File source, File dest, String type) throws IOException |
Protected Member Functions |
String | getDotCommand () |
Private Member Functions |
byte[] | waitAndReadInput (Process p) throws IOException |
Private Attributes |
final Properties | properties |
Detailed Description
- Purpose: GraphViz Java API
-
- Description:
- With this Java class you can simply call dot from your Java programs
- Example usage:
GraphViz gv = new GraphViz(properties);
String type = "gif";
File out = new File("out." + type); // out.gif in this example
gv.writeGraphToFile( gv.getGraph( gv.getDotSource(), type ), out );
- Version:
- v0.6, 2011/08/30 -- Removing string builder related code
-
v0.6, 2011/08/15 -- Letting Java figure out where the temporary directory is located and finding the executable
-
v0.4, 2011/02/05 (February) -- Patch of Keheliya Gallaba is added. Now you can specify the type of the output file: gif, dot, fig, pdf, ps, svg, png, etc.
-
v0.3, 2010/11/29 (November) -- Windows support + ability to read the graph from a text file
-
v0.2, 2010/07/22 (July) -- bug fix
-
v0.1, 2003/12/04 (December) -- first release
- Author:
- Laszlo Szathmary (jabba.laci@gmail.com)
-
kma
Constructor & Destructor Documentation
metadone.client.grasyla2.functions.GraphViz.GraphViz |
( |
Properties |
p | ) |
|
Member Function Documentation
Process metadone.client.grasyla2.functions.GraphViz.convert |
( |
String |
type | ) |
throws IOException |
Process metadone.client.grasyla2.functions.GraphViz.convert |
( |
File |
source, |
|
|
File |
dest, |
|
|
String |
type |
|
) |
| throws IOException |
String metadone.client.grasyla2.functions.GraphViz.getDotCommand |
( |
| ) |
[protected] |
byte [] metadone.client.grasyla2.functions.GraphViz.getGraph |
( |
byte[] |
dot_source, |
|
|
String |
type |
|
) |
| throws IOException |
byte [] metadone.client.grasyla2.functions.GraphViz.getGraph |
( |
File |
dot, |
|
|
String |
type |
|
) |
| throws IOException |
byte [] metadone.client.grasyla2.functions.GraphViz.waitAndReadInput |
( |
Process |
p | ) |
throws IOException [private] |
Member Data Documentation
The documentation for this class was generated from the following file:
- metadone_bundle_client/src/metadone/client/grasyla2/functions/GraphViz.java