Draw lines for nodes