IO.binwrite should accept options hash
Refactored directed graph specs