createArrow and showArrow implementation without label