problem description
how do I get the endpoint, at both ends of the connection separately and hide the endpoints when I click on a connection?
the environmental background of the problems and what methods you have tried
there is no way of thinking, I don"t know which interface to use, and the document is a little hard to read.