Enable text based alternatives for graph display and drawing entry

Try another version of this question

ABCDEFG[Graphs generated by this script: setBorder(60,30,60,30);initPicture(-10,10,2,8); fontsize=14;fontstyle='none';marker=null;line([-10,5],[10,8]);line([-10,7.5],[10,2]);line([-10,7.5],[10,4]);line([-10,7.5],[10,6]);fontbackground='white';fontfill='blue';text([-10,2.5],'A','belowleft');dot([-10,2.5]);fontfill='blue';text([-10,5],'B','belowleft');dot([-10,5]);fontfill='blue';text([-10,7.5],'C','aboveleft');dot([-10,7.5]);fontfill='blue';text([10,2],'D','belowright');dot([10,2]);fontfill='blue';text([10,4],'E','belowright');dot([10,4]);fontfill='blue';text([10,6],'F','aboveright');dot([10,6]);fontfill='blue';text([10,8],'G','aboveright');dot([10,8]);]

What is the degree of vertex A