Added some new processing code; need to do some work on the digraph.