How can I show only one class of a package?

0 votes
asked Jun 14, 2017 in Closed question / help by anonymous
Hi,

I've the following situation:

  "Package1":  A large package that contains a lot of class

  "Package2":  A large package that contains a lot of class and use one class of "Package1"

I want use inclusion to gets the class used in package 2 from package 1 but I don't want show all classes of package 1. How can I show the class used in Package 1 without hide all others?

1 Answer

0 votes
answered Jan 26 by Anthony-Gaudino (7,760 points)

You can use hide to hide your classes.

Ex:

@startuml
class a <<jj>>
class b
class c

hide <<jj>>
hide b
@enduml
...