Questions tagged [component-diagram]
56 questions
15
votes
4 answers
Component diagram versus Class diagram?
class and package diagrams model logical design of software
component diagram models implementation view
Could you please clarify the above difference through a very short example?

user2019510
- 1,460
- 5
- 16
- 29
11
votes
1 answer
Component diagram dependency vs assembly
I'm having a hard time understanding the difference between dependency and assembly(ball and socket) in UML component diagram.
I googled a lot and only found this relative question : uml component diagram difference between assembly and interfaces…

niceman
- 2,653
- 29
- 57
9
votes
1 answer
Microservices dependencies in UML diagrams
I want to explain how microservices depend on each other.
Consider for example, the following case:
The user service exposes the user_detail endpoint;
The product service exposes the product_item_detail endpoint;
The ordering service exposes the…

BryGom
- 649
- 1
- 11
- 21
9
votes
2 answers
PlantUML component diagam port
Is there any possible way to create component port in the component diagram?
If port has to be attached to only one arrow, its easy, because I can use #-- arrow.
interface y
[x] #- y
The problem is, if I try to attach to arrows to one port. I tried…

Patryk Cholewa
- 93
- 3
- 6
8
votes
3 answers
Is there a human-readable and text-based representation of a Component diagram?
I'm looking for a text-based representation of a component diagram that does these things:
A human can read and understand the diagram just by looking at the text
The text can be rendered into a diagram
Simple. No fancy features. Basically just…

Matt York
- 15,981
- 7
- 47
- 51
6
votes
2 answers
How do you link up the lollipops using Enterprise Architect - Component Diagram (assembly relationship)
I am busy putting together a component diagram using EA by Sparx System (version 15.1).
I would like to achieve the top diagram (component A and B). However when I setup an assembly relationship you need to configure a required and a provided…

Zane Gers
- 103
- 1
- 6
5
votes
2 answers
Is this okay to use UML component diagram for a 3-tier Architecture?
There are so many types of diagrams in UML. I am little confused about which one to use for what.
I designed a 3-tier architecture for my web application software using UML Component Diagram. Please see the attached image and tell me if I'm doing…

Tanjil
- 101
- 2
- 14
5
votes
0 answers
Generate UML Component Diagram
I'm trying to find a library that creates UML Component Diagram using a config file (XML, Lua, whatever... )
My objective is reach something like this:
UML Component Diagram from Visual Studio
I already found PlantUML, but i can't represent…

Makah
- 4,435
- 3
- 47
- 68
4
votes
1 answer
plantuml - better disposition of arrows and text
I'm trying to plot this component diagram with plantuml
@startuml
skinparam linetype ortho
left to right direction
folder BASE {
folder foo {
component aaa
}
folder bar {
component bbb
folder ENV {
…

Federico Destefanis
- 968
- 1
- 16
- 27
4
votes
1 answer
Are modern REST-Applications 3-Tier-Architecture or 4-Tier-Architecture?
I am currently learning UML and Deployment/Component Diagrams and want to model my existing application into a 3- or 4-Tier-Architecture. My App has the following instances:
Angular Application
Java Spring Boot Application as…

Cenasa
- 531
- 9
- 27
4
votes
0 answers
When to use ports in your UML component diagram?
I'm trying to understand some UML diagrams, and I was reading and drawing some different diagrams, until I reached the component diagram.
I was following some online tutorials, like this and this.
Just like the question's title says, I don't…

IBRAHIM
- 77
- 9
4
votes
1 answer
How to correctly use port and interfaces in a UML2 component diagram
I haven't understood well how to use port, connector and interfaces in a UML2 component Diagram.
I understand that a component can be a physical or a logical component, is the same with interfaces? For example a required import becomes a required…

zelgadis296
- 41
- 3
4
votes
1 answer
How to create component diagram from Code, Visual Studio 2012 Ultimate
How do i create a UML component diagram in Visual Studio 2012 Ultimate from Code? I cant drag anything from Architecture Explorer to the diagram.

user1324258
- 561
- 2
- 8
- 25
3
votes
1 answer
How to make a Port in a StarUML component diagram align on the left side?
I am trying to build a component diagram in StarUML. Unfortunately I am not able to align a port correctly on the left side. On the other sides it snaps on to the edge nicely. Do you know how?
I already tried to enable "move freely" in the…

Peter Malfiz
- 41
- 5
3
votes
1 answer
Component Diagram for an Eclipse plugin
I need to draw a component diagram for an Eclipse plugin, but I'm not sure how to do that.
I found this diagram. I think I could draw something similar using the UML 2 notation for my plugin, replacing "Your tool" with the name of my plugin and…

Rafael Angarita
- 777
- 10
- 27