Arrow paths via API

I use Graphviz via API (from swift code). I can easily access the edge line via ((Agedgeinfo_t) Agedge_s.base.data).splines.
However, how do I access the arrowhead and arrowtail shapes? Is there an access API for those?