creation and display of edges