Skip to content

Quickstart

Requirements🔗

You need Python>=3.9 and either npmor node to be installed. The automatic layouting is provided by elkjs which is installed if it isn't already.

Installation🔗

With pip:

pip install capellambse_context_diagrams

Enjoy the features🔗

You can now use the .context_diagram attribute on the advertised model elements. Check out the examples on the home page.

Troubleshooting

If your MelodyModel instance raises an error while initializing the entrypoints or your model element raises an AttributeError, try to reinstall py-capellambse!