line is centered and drags with node