Use css classes for edges