enhancement: #6 added grouping to networg.get('edges')