views:

77

answers:

2

The title says it all. Repeated here: What's the best way to represent a networked connection in a UML class diagram?

+1  A: 

UML class diagrams are not appropriate to describe a topological notion as a "network"; they are better suited for hierarchies and interdependencies between objects. Or are you talking about a Connection class?

Manrico Corazzi
Ok, they're gone :)
Jack BeNimble
:)Many design tools (like Microsoft Visio) have a separate "palette" of objects for networks, if that's what you are looking for. Read Justin Niessner answer, also, for a "pure" UML approach in depicting the communications between the components of your application.
Manrico Corazzi
+1  A: 

The Class Diagram is the wrong place to be trying to show network connections. A Class diagram will show only the classes in your software and how they relate to each other. You should use a Deployment Diagram to show how the elements of your software are going deployed across the network.

You could also include a Communication Diagram to show how the different parts of the software communicate with each other without regard to the deployment model.

Justin Niessner