css fix
generate random connection between endpoints