shape

Custom node shapes

I would like to create and use custom shapes that can be modified with node attr. (e.g. penwidth to modify the custom node lines width) I am trying an already working example from http://rhodesmill.org/brandon/2007/a-database-symbol-for-graphviz/ to experiment and create such kind of nodes, but without much success.

Example 1, the generic example works:
$ dot -Tps2 -l DatabaseShape.ps sample.dot -o sample.ps
$ ps2pdf sample.ps sample.pdf

Example 2:
$ dot -Tps2 -l DatabaseShape.ps sample.dot -Tpng -o sample-ps.png
$ feh sample-ps.png

Recent comments

Syndicate content