Handle curve direction. TODO (1) curve color (2) arrows (3) mouseover
link.