There should be a diagram filter, which allows to filter diagram elements based on the C++ module in which they are declared.