I've been doing things the slow way with this issue, but I am wondering (really hoping!) if there is a faster way. I'm using Adobe Illustrator.

Say I want to draw a line between two circles (behind the circles). Simple, create two layers, and voila:

enter image description here

Now, say I want to add an arrowhead on the line, that just touches the circle. Ok, I move the side of the line that I want the arrowhead on to the edge of the circle and put an arrowhead on it:

enter image description here

Now, someone tells me they want the circle moved. Hmm, all my work is now for nothing and I have to repeat the process, otherwise I get something wonky like this (line is no longer pointing to the center, arg!):

enter image description here

Question: Is there a way to offset the arrowhead, say 10px, from the end of the line so I don't have to move the line in the second step? Or is there a better way of going about this?

  • Look into using something like yEd. You can run it for free, it so does auto layout. And then shan done export as eps and read into illustrator. But yes what you ask can be done with the API, i have this function. But since i dont own the code i cant share. And since the copyright holder is nolonger around i dont know where to ask
    – joojaa
    Apr 7, 2016 at 6:51

1 Answer 1


I am not sure if what you're asking to do is possible in Illustrator. One work around is to group the path to the object and then rotate the group.

rotate the stroke with the object as a group

  • Nice, thanks! It's better than repeating the whole process. Ideally, I'd be moving multiple nodes with multiple lines, in a network setting. I really wish Illustrator would come up with an "offset arrowhead" feature!
    – Erik M
    Apr 6, 2016 at 22:24
  • @ErikM What you're looking for is a feature that would be found in a flow chart type program. Illustrator wasn't designed for something like this. Not sure what your end goal is but maybe using a flow chart program can be used in your workflow.
    – AndrewH
    Apr 6, 2016 at 22:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.