Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exchange scenarios are broken #56

Open
shepherd-GTS opened this issue Dec 19, 2024 · 2 comments
Open

Exchange scenarios are broken #56

shepherd-GTS opened this issue Dec 19, 2024 · 2 comments

Comments

@shepherd-GTS
Copy link

Exchange scenarios are broken (maybe this is a capellaMBSE issue) in the model explorer:
Capella-Model-Explorer-ES-Diagram
Note: The attached model model-10241210-hitachiGTS.zip contains this diagram with the name "8a218238-f3a5-43f0-9772-8d3eb0cd" in an obfuscated form.

@vik378
Copy link
Member

vik378 commented Jan 6, 2025

Hi @shepherd-GTS , the internal renderer of capellambse doesnt support exchange scenarios yet. Some time ago @huyenngn wanted to look into that. The work around that we all use so far is diagram caching - a mechanism that passes pre-rendered SVGs of all diagrams in the model to capellambse. Unfortunately, it isnt well documented (that we will fix quickly) but you can already find some usage inspirations here https://github.com/DSD-DBS/capella-dockerimages/blob/main/ci-templates/gitlab/diagram-cache.yml and here https://github.com/DSD-DBS/capella-dockerimages/blob/d209180db7c3e3d61f99e6e3a32aaeed62dff9bc/ci-templates/github/diagram-cache/action.yml#L43

@shepherd-GTS
Copy link
Author

Hi @vik378, thanks for the reference to diagram caching, we are using this already as a work around.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants