Comment 12 for bug 136450

Revision history for this message
FriDisch (dumb-kane) wrote :

I just looked into '/usr/bin/dotedit'. This is only a simple Shell-Script, that launches dot - either on a file given as an argument or on '/usr/share/graphviz/dotedit-splash.dot'.
So it isn't very usefull after all and acts merely as a test case for graphviz.
The reason it doesn't work: 'gtk' is specified as target-format, which isn't a format dot does recognize. One can of course change this manually, by substituting '-Tgtk' with '-Tsvg' (or '-Tpng' or any other valid Target-Format).

Here's the whole script:

#!/bin/bash

if test "x$@" = "x"
then
 dotfile=/usr/share/graphviz/dotedit-splash.dot
else
 dotfile="$@"
fi

exec dot -Tsvg "$dotfile"