Search code examples
javadocumlgraph

How can I exclude package private class using Class Diagram Options?


I trying to generate UML Graph with Javadoc using UMLGraph.

I'm searching an option on here for excluding my package-private class from being visualized.

// package-private
// javadoc excludes it. that's ok.
// umlgraph keeps it. that's not ok.
class SomeBase {
}

The class is excluded from the Javadoc. But UMLGraph keeps it.

How can I, with what option, exclude the class?


Solution

  • I don't see UMLGraph having such an option. Consider adding the @hidden tag to the class's Javadoc comment as documented here.