create edges for links between switching devices