grap

Language for creating and typesetting graphs and diagrams

brewmacoslinux
Try with needOr install directly
Source

About

Language for typesetting graphs

Commands

grap

Examples

Convert a grap source file to PostScript output$ grap input.grap | troff -Tps > output.ps
Process grap file with pic preprocessor for graphs in documents$ grap diagram.grap | pic | groff -Tpdf > diagram.pdf
View grap syntax and available commands$ grap -h