added ability to connect lines with node cricles