print.transition function

Print a transition