Replies: 2 comments 1 reply
|
Hi @tomaspmz , we have a different approach to diagrams on our side. We have 2 types of diagrams - diagrams made in capella, "technical" - we use them for user input but almost never for documentation / presentation, etc. For purposes of visualizing what is in the model we use a system of pre-defined viewpoints - for instance to show a context of a component, entity or a function, etc. This is way more useful then persistent diagrams in a long run (and also way less technical debt). And then we use an extension made on top of this library and elkjs to dynamically construct those context-specific views right in our presentation / documentation pipelines. This is the extension: https://github.com/DSD-DBS/capellambse-context-diagrams, it already has plenty of viewpoints covering most of the topics intetresting to us - specification, contexts, data structures, interfaces. Please have a look at it (https://capellambse-context-diagrams.readthedocs.io/en/stable/), and if you find it useful but it doesnt cover the specific viewpoint that you are after, feel free to describe it in an issue. And also, if you really want to implement programmatic editing of sirius diagrams with persistance and auto layout - that is quite some work, but we are open to new contributions ;-) |
|
Hello, I think what you discussed could help me. |

Uh oh!
There was an error while loading. Please reload this page.
Hello, i've been actively using the library and have had success creating, editing, linking requirements with different model elements.
My problem now is that i'm trying to create diagrams automatically, from what i've been researching within the documentation it's not really possible, is this true? I've tried creating operational entities and after creating an OEBD diagram, where normally, the created operational entities appear automatically. In my case, the operational entities i've defined don't appear automatically, and i'm not able of adding a diagram to the .visible_on_diagrams list which is the only visible difference i see between two operational entity elements created within capella and through the capellambse library.
All reactions