I have used Visual Studio successfully to generate class diagrams from C++ source code. But I'm finding it hard to do the same in CLION. I used Settings / Preferences | Tools | Diagrams as per the JetBrains documentation, but it throws this error CLION diagrams error. "The current file or folder does not have any dependencies. Please try with another file or folder". But my source code is indeed having many dependencies.
How to generate class diagrams (UML or non UML) from C++ source in CLION?