Draw process state diagram.