−Choose one question first. Who references whom and who calls whom in what order need different views.
Include only the types or objects needed to answer it. You do not need to list every constructor and helper method.
Check the meaning of solid lines, dashed lines, triangles, and diamonds, then add the necessary role names and multiplicities. Explain any nonstandard notation in a legend.
Compare the diagram with the code. Is a reference stored, is a type used only as a parameter, or is an interface implemented? Update explanatory diagrams when the code changes.
+Choose one question first. Who references whom and who calls whom in what order need different views.
Select the types and objects that answer the question. Include constructors and helper methods when they help explain the relationship.
Check the meaning of solid lines, dashed lines, triangles, and diamonds, then add the necessary role names and multiplicities. Explain any nonstandard notation in a legend.
Compare the diagram with the code. Is a reference stored, is a type used only as a parameter, or is an interface implemented? Update explanatory diagrams when the code changes.