+ function vert_print(v, _color, _fontcolor, _shape, _state) {
+ _shape = "rectangle"
+ _state = child2state[v]
+ if (_state == "D") {
+ _shape = "circle"
+ } else if (_state == "I") {
+ _shape = "octagon"
+ } else if (_state == "R") {
+ _shape = "star"
+ } else if (_state == "S") {
+ _shape = "oval"
+ } else if (_state == "T") {
+ _shape = "square"
+ } else if (_state == "t") {
+ _shape = "Msquare"
+ } else if (_state == "Z") {
+ _shape = "diamond"
+ }