Graphviz

From Foochal

Jump to: navigation, search


Contents

No graph generated

I get the following error message:

Error: Layout was not done.  Missing layout plugins?

Possible solution

... running "dot -c" which writes to <prefix>/lib/graphviz/config (more...)

fontconfig error

I get the following error message

Error: fontconfig: Didn't find expected font family. Perhaps URW Type 1 fonts need installing? : Helvetica

Possible solution

Most likely the dot file refers to helvetica font, which is not installed on the system. To list available fonts, use this command:

fc-match -v Helvetica

See if you have urw installed. On linux:

rpm -qa | grep urw

If you don't find any rpms installed, try

yum search urw

Followed by

yum install urw-fonts.noarch (or the package found by previous command)

Make sure urw is installed:

 rpm -qa | grep urw

Dot should work now!


Personal tools