Add buttons for edges.