% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/splot-arrows.R
\name{shorten_edge_for_arrow}
\alias{shorten_edge_for_arrow}
\title{Calculate Shortened Edge Endpoint}
\usage{
shorten_edge_for_arrow(x1, y1, x2, y2, arrow_size)
}
\arguments{
\item{x1, y1}{Start point.}

\item{x2, y2}{End point (arrow tip).}

\item{arrow_size}{Arrow size.}
}
\value{
List with x, y coordinates of shortened endpoint.
}
\description{
Calculates where to stop drawing an edge line so the arrow head
doesn't overlap with the line.
}
\keyword{internal}
