Divide and merge statecharts for easy collaboration
Project description
YAKINDU Merge Tool
YAKINDU Statechart Tools is an Eclipse-based editor where you can create state machines and generate code from it. Their documentation is found here
This python tool helps collaboration within YAKINDU Statechart Tools. It introduces the possibility of using different components and a template to generate one final statechart. In the different components, you can choose which parts are migrated.
The yakmerge tool is easily installed by running
pip install yakindu-merge-py
Afterwards you can invoke the following commando with the files that are in the example folder.
yakmerge -o ./example/final.ysc -t ./example/TrafficLightTemplate.ysc ./example/TrafficLightOn.ysc ./example/TrafficLightOff.ysc
Every component needs to have one composite state with the filename surrounded by underscores. TrafficLightOn.ysc has a composite state with _TrafficLightOn_ and TrafficLightOff.ysc -> _TrafficLightOff_. The template has two composite state. The template defines the interaction between the different components.
The final.ysc is produced. It is also possible to overwrite the template when omitting the -o option. But be aware that this overwrites the template file.
The definition is not migrated, each component needs to have a copy.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for yakindu_merge_py-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48346888093a00c6d4fdf1f5e3710d6d358cf09fce08bbd0c70446a9ba68d770 |
|
MD5 | 844499f0d7c21a83e747996a7f4be95c |
|
BLAKE2b-256 | 4134ea8fb20c140bc4b1c684d9b44698dfd2bce539d6d965ba8ef7667c8cfad0 |