entviz is an ent extension that provides visualization of the schema graph
Last updated May 26, 2025
97
Stars
11
Forks
5
Issues
0
Stars/day
Attention Score
11
Language breakdown
Go 100.0%
▸ Files
click to expand
README
entviz
entviz is an ent extension that creates visual graph (html file) of your ent's schema.install
go get github.com/hedwigz/entviz
add this extension to ent (see example code)
run
go generate ./ent
your html will be saved at ent/schema-viz.html
serve via http
You can use the helper functionent.ServeEntviz to easily serve the static html page over http
http.ListenAndServe("localhost:3002", ent.ServeEntviz())
Use from command line
Install the cmdgo get github.com/hedwigz/entviz/cmd/entviz
Then run inside your project:
entviz ./etc/schema
example
🔗 More in this category