uDraw(Graph) supports the environment variables listed below.
Notes for the Windows® platform:
Instead of using environment variables you can set corresponding variables of type "zero terminated string" in the following paths of the registry. The variables are searched in both paths in this order:
After you have
If you do not have the permissions to modify HKEY_LOCAL_MACHINE entries in the registry (i.e. no administration rights), then the alternative root HKEY_CURRENT_USER is used instead. The registry entries have the same semantics as described for the variables described below. uDraw(Graph) will use them if it cannot find the environment variable as a fallback and there is no need to set the environment variables any more. If the registry is set at both locations (HKEY_LOCAL_MACHINE and HKEY_CURRENT_USER), uDraw(Graph) will use only HKEY_CURRENT_USER.
This is the only mandatory environment variable that must be set to be able to start uDraw(Graph). This variable is automatically set by the uDraw(Graph) installation on Windows® and when you use the *.rpm distribution on LINUX®. This environment variable specifies the directory where the uDraw(Graph) distribution is located on your computer, i.e. the absolute file name of the topmost directory "uDrawGraph-3.1.X" (where X is the actual minor release number).
Be careful with moving the uDraw(Graph) distribution to another
location on a filesystem shared by many users.
You can do so (by setting $UDG_HOME
to the new location), but other users may have problems accessing the
This environment variable is used to specify the directories where
the system will look for files containing images in the ".gif", ".xbm",
".xpm" or ".bmp" graphic format.
Images can be used to visualize particular nodes of a graph (see
This variable is used to set the text of the user interface to another
If unset, value "C" is supposed which is the English user interface.
A German user interface can be used with value "de".
Other languages may be provided by the user, see chapter
By default, uDraw(Graph) will look for the
$HOME and $TMP
Sometimes uDraw(Graph) has to create temporary files. If the environment variable $TMP is set, its value is used as the directory for temporary files. Otherwise the environment variable $HOME is used. If neither $TMP nor $HOME is set, the current working directory is used.