Skip to main content

Questions tagged [component]

0 votes
1 answer
116 views

How to adjust the component diagram in this case for better readability?

I have created a Python code where a main algorithm uses three different modules (.py) after importing them. To illustrate and describe it I have create the following component diagram? Could it be ...
Patrick Schulz's user avatar
-2 votes
1 answer
322 views

What is a component in C#?

Introduction Components are an important building block of software. In terms of software architecture, there are a lot of principles regarding components that should be adhered to (high cohesion, low ...
dn1h's user avatar
  • 19
0 votes
4 answers
473 views

Resolving Dependency Cycles

Class and component dependency cycles Assume, we have component A with class CA, and component B with class CB, with a cyclic two-way dependency between classes CAand CB. Hence, we have a cyclic ...
dn1h's user avatar
  • 19
1 vote
1 answer
324 views

UML Component diagram: Dangling interfaces or connecting two

I'm a novice in UML component diagrams. How would I draw the following situation? I have an << item >> called "DataAquisition". This item consists of a << unit >> ...
Max's user avatar
  • 111
0 votes
2 answers
133 views

While designing a software, what are the criterion used to partition that software into indivisual components? [closed]

Good software is always designed based on different modules before integration. I was wondering what rules/guidelines decide software partition into different, smaller modules during the design phase.
Yash J's user avatar
  • 59
1 vote
2 answers
157 views

Instance of component inside a (non-instance) component. Does it make sense?

A colleague of mine did this UML component diagram to represent both the required/provided interfaces and the internal structure of the subsystems that compose the system we're working on: (The ...
cidra's user avatar
  • 363
0 votes
2 answers
686 views

Can a socket be connected to many balls in a component diagram?

I have to draw a component diagram that depicts the architecture of my system with its subsystem decomposition and its dependencies. My system has a 3 tier architecture: The top layer just acts as a ...
cidra's user avatar
  • 363
-1 votes
2 answers
527 views

What does a database component in a UML diagram represent? [closed]

Sometimes the UML component diagram contains a database component. Does this database component represent a class that programmers create (which includes host, username, password, port... DB ...
Kasun Jalitha's user avatar
-1 votes
1 answer
455 views

Calculate Cumulative Component Dependency and Average Component Dependency

Given is the following dependency graph of a system with two subsystems. Calculate the CD (Component Dependency) of all components and also calculate the CCD and the ACD. See CDD here https://...
Mr. Hankey's user avatar
5 votes
2 answers
12k views

When is a "port" used in UML component diagram?

I currently stumbled over the the concept of "ports" in UML component diagrams and I'm not entirely sure how they are supposed to be used. Sometimes, ports seem to be used generally as start ...
TiMauzi's user avatar
  • 161
-2 votes
3 answers
110 views

Visualising a sprint as a delta to a software component diagram? [closed]

Given a software component diagram, a sprint could be represented as a delta of that diagram. That delta would reflect how the sprint affect the components. Each component could for example have a ...
Max Murphy's user avatar
1 vote
1 answer
245 views

Component based architectures in JS / PHP: what indicators suggest that a UI element ought to be written as an importable component?

N.B. Several months after initially asking this question (and not coming up with any satisfactory answers) I am now learning to use HTML Custom Elements / WebComponents. It seems the same question ...
Rounin's user avatar
  • 295
1 vote
1 answer
301 views

Server side rendering of third party updated html components

Say I am wanting to include a third party HTML component in my site... I know that I can simply include a <script> tag to pull in the component on the client's side; however because I do not ...
physicsboy's user avatar
-2 votes
1 answer
85 views

React class or function for stateful components?

Which is better to use? react class based stateful component or react hooks functional stateful component? I've searched a bit but couldn't find what is preferred to use.
Soul Burn's user avatar
  • 101
2 votes
1 answer
2k views

How to show relationships of the component containing the interface definition when using ball/socket notation in a UML Component Diagram?

I recently found out that I have probably been using ball/socket notation in a wrong way all the time. Now I am confused by the different ways of drawing interface relationships in two regards (I ...
Phil's user avatar
  • 51

15 30 50 per page
1
2 3 4 5