Default edge direction should be 0 not nil
Merge pull request #10 from dalton/master

Default edge direction should be 0 not nil