Which UML diagram do you need?
Use a class diagram for the structure of code: which classes exist, what they hold and how they relate. Use a use case diagram for what a system offers to its users. Use a sequence diagram when the order of calls between components matters, such as a login or a payment.
Activity diagrams describe a process with decisions and parallel work, while state diagrams follow one object, such as an order, through its lifecycle. If you are unsure, the UML diagram generator can start from the same description in several types so you can compare them.





