Can I connect a line to an object

I am makling system block diagrams and want to connect a line to an object so that if I move the object the line redraws and remains connected to the object.   Visio has this and I wonder if I can duplicate it ihere.