removed line logic from graph