咨询:MDriven入门版中UML状态机的查找位置
如何在MDriven入门版中找到UML状态机入口
Hey there! I’ve tinkered with MDriven’s starter edition before, so let me help you track down that state machine entry you’re hunting for. The key detail you might’ve missed is that the relevant options only activate when you’ve got a specific class selected—here’s the step-by-step breakdown:
- First, open your model in the MDriven Designer. Navigate to the class you want to attach a state machine to, then select it either by clicking directly on the class box in the Class Diagram, or clicking its name in the Model Explorer tree view.
- With the class selected, check the top menu bar: open the Model dropdown, and you’ll spot the Add State Machine option. Click it, and a state machine tied exclusively to that class will be created, ready for you to build out states and transitions.
- If you’re a right-click fan like me, you can skip the top menu entirely: just right-click the selected class (either in the diagram or explorer) and look for Add State Machine in the context menu—it’s right there waiting.
A quick heads-up: The state machine tools stay hidden until a class is selected, so that’s likely why you couldn’t find them earlier! The starter edition does fully support UML state machines, so you’ll be able to add all those allowed states once you follow these steps.
内容的提问来源于stack exchange,提问作者Charles. H
相关产品推荐
相关产品推荐

