本文へスキップ
Kitbay
スキル公式

stateflow-apply-layout

NOASSERTION2026年11月19日 更新1,366GitHubスター

A MathWorks skill from the Simulink Agentic Toolkit that tidies Stateflow diagrams.

スキルの内容

A MathWorks skill from the Simulink Agentic Toolkit that tidies Stateflow diagrams. It is meant for charts left with overlapping states, transitions or junctions after edits through the Stateflow API, or when a user asks to clean up a chart, subchart, box or function. The agent finds the right subviewers, skips table-type charts and locked ones, and calls MathWorks' autolayout function either for a full rearrangement or incrementally, placing only new objects and keeping deliberate positions. Layout style and direction can be set. It then compares positions to make sure the call ran and tells the user the model has unsaved changes. Simulink block layout is left to the toolkit's model editing tool.

できること

  • Rearrange a Stateflow chart automatically
  • Place only newly added states and transitions
  • Choose layout style and direction