Is there a rule of thumb, in which situation you would model your connection as foreign key and in which situation you would model it as graph? Or do you always use graphs?
Materializing that data in a graph may be one of those optimization candidates.
You have identify your entities and value objects.