grap
Graph language for groff documents
TLDR
Create graph
$ grap [script.grap] | groff -Tps > output.ps
Process inline$ echo ".G1 ... .G2" | grap | groff -Tps
SYNOPSIS
grap [options] [file]
DESCRIPTION
grap is a language for creating graphs, designed for use with groff. It describes graphs using a simple declarative language that produces pic output for troff/groff processing.
The tool creates publication-quality graphs for technical documents, integrating seamlessly with the troff document processing system.
PARAMETERS
FILE
Grap script file.-d VAR=VALUE
Define variable.--help
Display help information.
CAVEATS
Part of groff ecosystem. Outputs to pic format. Requires groff for rendering.
HISTORY
grap was developed at Bell Labs as part of the Unix document preparation tools, described by Kernighan and Bentley.
