graphdraw: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On Debian possible default full paths are:

/usr/bin/graphdraw - from package: ivtools-bin

You may install the required package with command apt-get install {package}
Error in other languages:
graphdraw: bevel nie gevind nie
graphdraw: comandă negăsită
graphdraw: comando não encontrado
graphdraw: commande introuvable
graphdraw: command not found
graphdraw: käsku ei ole
graphdraw: không tìm thấy lệnh
graphdraw: komanda nerasta
graphdraw: Kommando nicht gefunden.
graphdraw: kommandot finns inte
graphdraw: komut yok
graphdraw: nie znaleziono polecenia
graphdraw: níor aimsíodh an t-ordú
graphdraw: no se encontró la orden
graphdraw: no s'ha trobat l'ordre
graphdraw: opdracht niet gevonden
graphdraw: parancs nem található
graphdraw: perintah tidak ditemukan
graphdraw: príkaz nenájdený
graphdraw: příkaz nenalezen
graphdraw: команда не найдена
graphdraw: командата не е открита
graphdraw: 命令找不到
graphdraw: コマンドが見つかりません