You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When generating a graph for a file it would be nice to have an option to specify a depth for dependencies. A pratical example would be in a file blahblah.go I have a struct A that has a struct B as a property. When generating the diagram for blahblah.go it would be awesome to be able to specify a depth that followed A properties to a certain depth.
The following command: go-plantuml generate -f model/blahblah.go --depth=1 -o graph.puml
would then generate a puml file of both blahblah.go as well as of the first level dependencies of A.
Another example would be if depth is 2, it would mean that if B had a dependency C we should be able to request issue go-plantuml generate -f model/blahblah.go --depth=2 -o graph.puml and see the relationships of A, B and C.
The text was updated successfully, but these errors were encountered:
lcc
changed the title
Add depth option for "file
Add depth option for "file"command
Aug 17, 2022
Hi thank you for your request!
Currently I have not the resources to implement this feature. Actually this can be really handy, but you can also do the same stuff by using the -f attribute like:
When generating a graph for a file it would be nice to have an option to specify a
depth
for dependencies. A pratical example would be in a fileblahblah.go
I have a structA
that has a structB
as a property. When generating the diagram forblahblah.go
it would be awesome to be able to specify adepth
that followedA
properties to a certain depth.The following command:
go-plantuml generate -f model/blahblah.go --depth=1 -o graph.puml
would then generate a puml file of both
blahblah.go
as well as of the first level dependencies ofA
.Another example would be if
depth
is 2, it would mean that ifB
had a dependencyC
we should be able to request issuego-plantuml generate -f model/blahblah.go --depth=2 -o graph.puml
and see the relationships ofA
,B
andC
.The text was updated successfully, but these errors were encountered: