di_visualizer 0.1.0 copy "di_visualizer: ^0.1.0" to clipboard
di_visualizer: ^0.1.0 copied to clipboard

outdated

di_visualizer

DI visualizer cli #

info #

tool for visualization your DI dependencies

use @diService annotation for your service class injected into DI

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

Screenshot

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/