The sfg package
Hanspeter Schmid · 2007
This style file defines some commands to draw signal flow graphs using LATEX2e. Signal flow graphs (sfg) are used by electrical and electronics engineers and graph theorists. If you haven’t heard of sfgs before, then sfg.sty is probably not useful for you. If you really want to know what a signal flow graph is, you might read one of the references given below. The package sfg requires the packages ‘pstricks’ and ‘fp’. It therefore requires LATEX2e and a reasonably fast machine. To draw a signal flow graph, you should proceed as follows: 1. Insert \usepackage{pstricks,sfg} in your LATEX2e-file. 2. Draw your sfg on graph paper1 and determine the size of the picture in units (squares). 3. Set the unitlength using \sfgsetunit. 4. Set the arrowlength, node radius and label offsets using \sfgsetsize. 5. In a LATEX picture environment of the size you determined above, • first draw all paths using \sfgbranch and \sfgcurve, • then draw all nodes using \sfgnode and \sfgtermnode.