Looking at issue 35, it appears the tacit convention is to take the graph type as an argument. However EdgeList only creates directed graphs as can be seen at line 39.