I have the class diagram with the class repeated on it twice. What does it mean?
For examle, model represents the tree of nodes. Parent node aggregates child-nodes. Are these diagrams mean the same?
I have several options:
Node2
classes within the model, whatever did author meant.Node2
, but it is not well-formed model.Is it specified in the UML Standard?
Yes, this two diagrams are semantically the same. Both elements in second diagram are representing the same (one) class. You can see that in the specification of UML itself. When it would make difficult to connect some nodes (like Element or Classifier), it is repeated on the diagram.
In other words, option 1 is correct.