goplantuml icon indicating copy to clipboard operation
goplantuml copied to clipboard

Subpackages are not properly visualized

Open marcofranssen opened this issue 6 years ago • 2 comments

lets say I have following package structure.

- cmd
- api
  - v1
- packageA
  - packageA1
  - packageA2
- packageB
  - packageB1
  - packageB2

currently it does not draw the nesting of packages, meaning the outcome is not accurate.

It also doesn't name the packages accordingly if for example it is only the v1 package within api.

I would expect it to render as api/v1 for example so it is easy traceable where the package resides.

marcofranssen avatar Jul 16 '19 11:07 marcofranssen

Thanks for opening this issue. I am a bit concerned on how the diagram would look with the full package names. But let me see how it comes out.

jfeliu007 avatar Jul 16 '19 14:07 jfeliu007

I am thinking that maybe we could drop the full path on the inner packages since you can get it from the parent package once the packages are properly nested.

jfeliu007 avatar Jul 16 '19 14:07 jfeliu007