I am trying to figure out what a UML class diagram would look like for a system designed like a graph data structure.
The system is a series of relationships (R# is the relationship, A,B,C are the nodes):
R1 = A----B
R2 = B----C
R3 = A—B----C
In my case the relationships are the most important part. R1 can actually represent the relationship between a lot of nodes. But there is only one type of relationship R1. I am trying to come up with a UML diagram for such a system, and was wondering if anyone can give some advice to point me in the right direction.