Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.
/ entviz Public archive

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

Notifications You must be signed in to change notification settings

hedwigz/entviz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages