ERD generator for frappe doctypes
$ bench get-app https://github.com/The-Commit-Company/frappe_er_generator.git
$ bench --site site_name install-app frappe_er_generator
- Call
get_erd
function for generating ERD by passing list of doctypes as argument. Other arguments includechild_tables
to include child table links as well asamended_from
to include that field.
path = api/method/frappe_er_generator.frappe_er_generator.er_generator.get_erd?doctypes = ["DocType1", "DocType2"]
- Call
get_whitelist_methods_in_app
function for fetching all whitelisted methods in app, by passing app name as argument.app
is argument name.
If got error while calling API - "RuntimeError: Make sure the Graphviz executables are on your system's path" after installing Graphviz 2.38, them install graphviz in macos using brew
$ brew install graphviz
- ERD in PNG format
- Output of
get_whitelist_methods_in_app
MIT