Fixes #186.  Also added method to ModelObject that print the object's
subgraph.