Manual
Main
![]() uDraw(Graph) ToolsBeside the useful graph editor application you will find other tools in the "bin" directory of the uDraw(Graph) distribution. Note: these are command-line tools. Using the command-line may be unusual for users familiar with Microsoft® Windows®. Refer to your Windows® documentation on how to get access to the command-line. Make sure, that the "$UDG_HOME/bin" directory is listed in your PATH environment variable or change the current working directory to "$UDG_HOME/bin" and use the tools as described below. checkterm
This tool can be used to check the syntax of a file containing a graph in the term representation format. Of course this analysis is also performed by uDraw(Graph) when a graph is loaded, but "checkterm" is much faster and even simpler to use. Furthermore this tool can be used without a window environment. formatterm
This tool is used for pretty printing of a file containing a uDraw(Graph) graph in term representation format. "formatterm" is used to fill a term representation with blank and return characters (i.e. ASCII 10 and/or 13) so it can be read easily in textual form. In the formatted term representation, each node and edge of the graph is placed on a separate line by using return characters. Different indent widths are used to clarify the level of the nodes. With option -i you can specify the indent of each level. The default value is 8 blanks. "formatterm" copies the original source file for backup by appending a percent character to the file name. The name of the destination file is the same as the original name of the source file. It is possible to load a formatted term representation in uDraw(Graph), but it is not possible to send it to the API, because return characters are only allowed at the end of an API command. In this case, use tool "flattenterm" to undo pretty printing. flattenterm
With this tool, pretty printing is undone for a file containing a uDraw(Graph) graph in term representation format. This is simply done by removing all blanks, tabulators and return characters between terminal symbols of the term representation. The white space inside strings is left untouched. "flattenterm" copies the original source file for backup by appending a percent character to the file name. The name of the destination file is the same as the original name of the source file. It is possible to load an unformatted term representation in uDraw(Graph) as well as sending it to the API. gml2udg
This tool translates a graph stored in a GML
( The following GML attributes are supported and converted to a suitable, equivalent representation in uDraw(Graph):
![]() |
||||