Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个项目,其中很多类扩展和/或实现一个类和/或接口。它已经被拆分为逻辑组件,但有时所有这些连接都会使图表变得混乱。
有没有办法减少这个连接数?比如告诉整个子包扩展/实现一个类/接口?
非常感谢你
你不能让一个包实现一个接口。但是,您可以从图表中省略接口或隐藏连接器并将其作为注释放在一边。例如:
可以显示为