Generating UML from C++ code? [closed]

Here are a few options: Step-by-Step Guide to Reverse Engineering Code into UML Diagrams with Microsoft Visio 2000 – http://msdn.microsoft.com/en-us/library/aa140255(office.10).aspx BoUML – http://bouml.fr/features.html StarUML – http://staruml.sourceforge.net/en/ Reverse engineering of the UML class diagram from C++ code in presence of weakly typed containers (2001) – http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.27.9064 Umbrello UML Modeller – http://uml.sourceforge.net/ A list of other tools … Read more

What’s the best UML diagramming tool? [closed]

Some context: Recently for graduate school I researched UML tools for usability and UML comprehension in general for an independent project. I also model/architect for a living. The previous posts have too many answers and not enough questions. A common misunderstanding is that UML is about creating diagrams. Sure, diagrams are important, but really you … Read more

Difference between association and dependency?

An association almost always implies that one object has the other object as a field/property/attribute (terminology differs). A dependency typically (but not always) implies that an object accepts another object as a method parameter, instantiates, or uses another object. A dependency is very much implied by an association.

UML aggregation vs association

Maybe this can help you, but i don’t think you will find the perfect explanation: The difference is one of implication. Aggregation denotes whole/part relationships whereas associations do not. However, there is not likely to be much difference in the way that the two relationships are implemented. That is, it would be very difficult to … Read more

PHP UML Generator [closed]

There’s also the PHP UML tool available from pear. PHP_UML: Can generate UML/XMI files in version 1.4, or in version 2.1 (logical, component, and deployment views) Can generate an API documentation in HTML format Can generate PHP code (code skeleton) from a given XMI file Can convert UML/XMI content from version 1.4 to version 2.1 … Read more

What is the difference between aggregation, composition and dependency? [duplicate]

Aggregation implies a relationship where the child can exist independently of the parent. Example: Class (parent) and Student (child). Delete the Class and the Students still exist. Composition implies a relationship where the child cannot exist independent of the parent. Example: House (parent) and Room (child). Rooms don’t exist separate to a House. The above … Read more

Explanation of the UML arrows

Here’s some explanations from the Visual Studio 2015 docs: UML Class Diagrams: Reference: https://docs.microsoft.com/en-us/previous-versions/visualstudio/visual-studio-2015/modeling/uml-class-diagrams-reference 5: Association: A relationship between the members of two classifiers. 5a: Aggregation: An association representing a shared ownership relationship. The Aggregation property of the owner role is set to Shared. 5b: Composition: An association representing a whole-part relationship. The Aggregation property … Read more