add some validation of arguments passed to Edge.new
Merge pull request #13 from kmussel/master

changed label to be correct on from rel