recommit new codes to return 2 objects -- graph NEL which can be plotted
via plot, and the edgelist generated for the plot