| java.lang.Object org.griphyn.vdl.util.DAX2DOT
DAX2DOT | public class DAX2DOT (Code) | | Convert a dag structure into GraphViz dot format.
author: Jens-S. Vöckler author: Yong Zhao version: $Revision: 50 $ |
Constructor Summary | |
public | DAX2DOT() | public | DAX2DOT(double h, double w) Convenience constructor sets the size of the graph. |
Method Summary | |
public double | getHeight() Determines the height of the graph. | public boolean | getShowDV() Determines, if DV identifiers are show. | public boolean | getShowTR() Determines, if TR identifiers are show. | public double | getWidth() Determines the width of the graph. | public static void | main(String[] args) | public void | setShowDV(boolean showDV) Sets the showing of derivation names. | public void | setShowTR(boolean showTR) Sets the showing of derivation names. | public void | setSize(double h, double w) Sets the size of the graph. | public String | toDOT(ADAG adag) | public String | toDOT(ADAG adag, boolean showFiles) | public void | toDOT(ADAG adag, Writer writer, boolean showFiles) | public void | toDOT(ADAG adag, Writer writer, boolean showFiles, String jobURL, String fileURL) Generates GraphViz .dot format from the specified ADAG, also generates
the client side HTML map for nodes. |
LINEFEED | final public static String LINEFEED(Code) | | Linefeed element for labels.
|
SEPARATOR | final public static String SEPARATOR(Code) | | Separator for strings.
|
DAX2DOT | public DAX2DOT()(Code) | | Constructor
|
DAX2DOT | public DAX2DOT(double h, double w)(Code) | | Convenience constructor sets the size of the graph.
Parameters: h - is the height in inches Parameters: w - is the width in inches |
setShowDV | public void setShowDV(boolean showDV)(Code) | | Sets the showing of derivation names.
Parameters: showDV - is true to show derivation identifiers. See Also: DAX2DOT.getShowDV() |
setShowTR | public void setShowTR(boolean showTR)(Code) | | Sets the showing of derivation names.
Parameters: showTR - is true to show derivation identifiers. See Also: DAX2DOT.getShowTR() |
setSize | public void setSize(double h, double w)(Code) | | Sets the size of the graph.
Parameters: h - is the height in inches Parameters: w - is the width in inches See Also: DAX2DOT.getHeight() See Also: DAX2DOT.getWidth() |
toDOT | public String toDOT(ADAG adag) throws IOException(Code) | | Generates GraphViz .dot format from the specified ADAG
Parameters: adag - is the ADAG instance a string representing .dot format |
toDOT | public void toDOT(ADAG adag, Writer writer, boolean showFiles) throws IOException(Code) | | Generates GraphViz .dot format from the specified ADAG
Parameters: adag - is the ADAG instance Parameters: writer - is the target to output the dot specification Parameters: showFiles - if set to true, then display files in the graph See Also: DAX2DOT.toDOT(ADAG,Writer,boolean,String,String) See Also: |
toDOT | public void toDOT(ADAG adag, Writer writer, boolean showFiles, String jobURL, String fileURL) throws IOException(Code) | | Generates GraphViz .dot format from the specified ADAG, also generates
the client side HTML map for nodes.
Parameters: adag - is the ADAG instance Parameters: writer - is the target to output the dot specification Parameters: showFiles - if set to true, then display files in the graph Parameters: jobURL - is the base URL for jobs Parameters: fileURL - is the base URL for files |
|
|