di_visualizer 0.2.1 di_visualizer: ^0.2.1 copied to clipboard
di_visualizer
di visualizer cli #
info #
tool for visualization your di dependencies
use @diService
annotation for your class
and get uml diagram:
@startuml
node Service1
node Service2
node Util
node RepoUtil
node Repository1
node Repository2
Util -up-> Service1
Repository1 -up-> Service1
Util -up-> Service2
Repository2 -up-> Service2
RepoUtil -up-> Repository1
RepoUtil -up-> Repository2
@enduml
run: #
install it and run from root of your app:
di_visualizer di --directory example/ --output uml.txt
and use any editors to see your uml, for example: https://www.planttext.com/