edge arrows render with some strange behavior