Added support for drawing arrows. See the documentation for details.