Connection Line Drawing Algorithm