Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

yakindu-merge-py-0.0.2.tar.gz (5.1 kB view hashes)

Uploaded Source

Built Distribution

yakindu_merge_py-0.0.2-py3-none-any.whl (6.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page