Xy-pic

Xy-pic

(graphics, publication)A package for typesetting graphs anddiagrams using TeX. It is structured as several modules,each defining a custom notation for a particular kind ofgraphical object or structure. Example objects are arrows,curves, and frames. These can be organised in matrix,directed graph, path, polygon, knot, and 2-cell structure.

Xy-pic works with LaTeX, AMS-LaTeX, AMS-TeX, and plain TeX, and has been used to typeset complicated diagrams frommany application areas including category theory, automatatheory, algebra, neural networks and database theory.

http://ens-lyon.fr/~krisrose/Xy-pic.html.