let startPosition = new THREE.Vector3(-5,0,0);
let targetPosition = new THREE.Vector3(-5,2,0);
let directionVector = new THREE.Vector3().sub(targetPos,startPosition);
let arrowHelper = newTHREE.ArrowHelper(directionVector.clone().normalize(),startPosition,directionVector.length(),0x00ff00);
scene.add(arrowHelper);
How can I add labels 'A' and 'B' to the points identified as sourcePos and targetPos in three.js?