I am presently having a tough time with making a element diagram that ought to symbolize a sure kind of element/interface dependency and hope that you may give me some hints. As background, I solely began studying UML and software program engineering some weeks in the past, so I assume that I simply have a pondering barrier and/or am doing issues extra difficult than needed.
Assume I’ve a “digital” element Companies. On this element I need to gather and mannequin all companies my system could provide. Subsequent, I’ve a element Admin which (at this stage) could use (and therefore rely upon) any of the companies supplied by Companies. Final however not least there’s a element Consumer which can solely use one particular service that’s already recognized. Would this be correctly represented by the connected element diagram? If not, how wouldn’t it be correctly represented? Would you simply point out that Consumer additionally will depend on the Companies port and mannequin the conrete interface dependency in a unique diagram? Is a dependency from Admin to the Companies port the correct means of exhibiting the dependency to the “digital” Companies interface or wouldn’t it be higher to simply present a dependency to the Companies element?
Thanks in your assist & persistence