This paper introduces a novel software visualisation and animation method, manifested in a prototype software tool - AnimArch. The introduced method is based on model fusion of static and dynamic models. The static model is represented by class diagram while the dynamic model is represented by source code written in high-level Object Action Language from xUML (executable UML). The class diagram defines architecture that is animated in response to real-time execution of the source code. Moreover, additional object diagram layer represents all object instances present in runtime. The AnimArch also features source code generation to Python, to bridge the gap from design to implementation. This paper provides detailed description of the modelling method and screenshots of the accompanying software tool.
翻译:本文提出了一种新颖的软件可视化与动画方法,并实现于原型软件工具AnimArch中。该方法基于静态模型与动态模型的融合。静态模型由类图表示,而动态模型则采用xUML(可执行UML)中的高级对象动作语言编写的源代码表示。类图定义的架构会随着源代码的实时执行而产生动画效果。此外,额外的对象图层可呈现运行时存在的所有对象实例。AnimArch还具备生成Python源代码的功能,以弥合设计与实现之间的鸿沟。本文详细描述了该建模方法,并提供了配套软件工具的界面截图。