Association
Whenever two classes are connected to each other, an association relationship link can be used. You can use a simple name for the relationship close to the line. For example, in a game, a player will have a lot of save files. If we consider Player
and SaveFile
as classes, then we can create an association link for them like below:

You can also state the multiplicity of the association with a value near the class. See that *
near the SaveFile
class above? That means that a Player
can interact with multiple SaveFile
classes. You can also use a number if you know how many save files a player will have prior to runtime (e.g. A Player
will always have N save files).