Skip to content

py-capellambse and sequence links in Functional Chain Description diagrams #173

Answered by ewuerger
khammoutene asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,

and sorry for the late reply. Whenever you deal with diagrams you can investigate its nodes attribute. E.g.:

This is what I'm receiving for our test [SFCD] diagram:

Now you can iterate over it and filter with the condition .xtype.endswith("SequenceLink") which is more reliable since instance checks require that an declaration in our model submodule exists.

This information can also be retrieved from the generated documentation, here. But we want to tackle a mayor refactoring for the aird-parsing and resulting diagram export for a long time. This should then come with a nice notebook showing all the capabilities of our Diagram object and best practices.

Cheers.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ewuerger
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants