怎么在javascrupt中实现箭头类型的界面,怎么通过箭头界面实现标记?

怎么在javascrupt中实现箭头类型的界面,怎么通过箭头界面实现标记?

这种?
https://blog.csdn.net/alvinnoending/article/details/52937689