Directed graphs

Added arrow-drawing code from Patrick Horgan. Directed can be turned on
and off now by setting directed variable in sigInst drawing properties.
Default is undirected (0).