Skip to content
forked from hedwigz/entviz

entviz is an ent extension that provides visualization of the schema graph

Notifications You must be signed in to change notification settings

lesomnus/entviz

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 function ent.ServeEntviz to easily serve the static html page over http

http.ListenAndServe("localhost:3002", ent.ServeEntviz())

Use from command line

Install the cmd

go get github.com/hedwigz/entviz/cmd/entviz

Then run inside your project:

entviz ./etc/schema

example

image (3)

About

entviz is an ent extension that provides visualization of the schema graph

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%