Multi-viewpoint state machines for rich component models