Here is the sample code:

class Used {
public:
  void bar();
};

class Base { };

class Derived : public Base {
public:
  void foo(Used*);  // Dependency on class Used
};

Here is the collaboration diagram generated by doxygen:

Default

Nice, but Derived depends on Used through the method foo, and I want to see
this on the diagram, like this:

What I want

Unfortunately, doxygen generates such dependency only if Used is aggregated
with Derived (used as a class member). Is there a way to show other kinds
of dependencies between classes?


Best regards, Mikhail Matrosov

 
Last edit: Mikhail Matrosov 2014-06-02