Return graph coordinates with a link added, overwriting the link already running in the same direction, since two nodes hold at most one link each way.
Current graph coordinates.
Link to store.
Index the link takes when it overwrites none; defaults to the end.
Return graph coordinates with a link added, overwriting the link already running in the same direction, since two nodes hold at most one link each way.