def drawNodeGraphTurtle(g): 'Draws node map with turtle graphics.' alex = turtle.Turtle() alex.rt(30) #For every node: draw it. for n in g: alex.forward(25) alex.write(n[1]) print ("Initialization done.")