Add connection lines