Only points and lines can be given a name.
When a point or a line is created, an editor appears on the fih=gure, allowing you to name it.
If you don't wish this point or line to be named, just press Escape key to close the editor.
Naming a point or a line after creation .
For this, use tool of the upper toolbar then click on the point or line which is to be named. A dialog box will popup allowing you to enter the name.
There are two ways to move a name :