Enable text based alternatives for graph display and drawing entry

Try Another Version of This Question

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

What is the degree of vertex B