Hello,
I’m new to Visual Paradigm and I really like it very much! For my (architecture) work I’m heavily using component diagrams as specified in UML 2, a good example can be found here: UML component diagram shows components, provided and required interfaces, ports, and relationships between them.
Now to my actual question: I think I understand the principle setup of Visual Paradigm, how model elements - also in conjunction with master and auxiliary views - work, but I’m still wondering if there’s an official, recommended way on how to draw a diagram like the one linked, where the concept of both design and execution time are in one diagram? What do I mean with that?
Looking at the diagram:
So there’s WebStore modelled as <<subsystem>>, according to the specs, when showing a “white-box view” (aka. internal structure) like here with the components SearchEngine, Shopping Cart and Authentication it’s “mandatory” to use the execution time view (aka. runtime = instance level), which is outlined by the usage of :SearchEngine etc. This is also a pre-condition for usage of assembly connector (= socket-and-ball joining) when being very strict.
Now I can see that there’s the concept of Instance Specification, which would be the right tool for the job, but I’m not able to place it inside of a (subsystem) component. Also, when I want to simply use an instance specification for the subsystem component as well, it seems like adding a Realization -> Interface it won’t “stick” to the parent view as it does when working with components instead of instance specifications - hinting that it might not be meant for usage in this sense.
So, what’s the best way to model an “official” UML 2 component diagram with subsystem to illustrate white-box views? Do I really have to add components with a name :ComponentName or is there any feature to use a different name just for a dedicated, single view in a diagram, i.e. having a model element (component) like SearchEngine but use the name :SearchEngine inside the component subsystem in the diagram/view?
Thanks for any feedback on the topic, very much appreciated!


