Group already defined components

0 votes
asked Oct 24, 2024 in Question / help by Sertinell
Is there any way to group already defined components?

I have a bunch of components that I need to group based on different criteria depending on the scope of the diagram. I maintain the list as an independent file which I include in different diagrams, the I remove components I do not need in the specific diagram. I would like to draw different frames/packages depending on the diagram.

So, longer question. Is there a way to group components defined in an included file in the current diagram.

An alternative would be to change the style of some the components in the current diagram. So, alternative question: Is there a way to change the skinparam of components included from a file in the current diagram?

1 Answer

0 votes
answered Oct 26, 2024 by kirchsth (7,480 points)

Hi @Sertinell,

you can use `
Including Subpart - !startsub, !endsub, !includesub` and I assume you can include your component as part of a package too.

You can find a sample in solution 3 of this comment

BR Helmut

...