Skip to content

saadindictrans/frappe_er_generator

 
 

Repository files navigation

Frappe ERD Generator

ERD generator for frappe doctypes

Download

$ bench get-app https://github.com/The-Commit-Company/frappe_er_generator.git

Install

$ bench --site site_name install-app frappe_er_generator
  1. Call get_erd function for generating ERD by passing list of doctypes as argument.

path = api/method/frappe_er_generator.frappe_er_generator.er_generator.get_erd?doctypes = ["DocType1", "DocType2"]

  1. Call get_whitelist_methods_in_app function for fetching all whitelisted methods in app, by passing app name as argument. app is argument name.

Note:

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

Output:

  1. ERD in PNG format

erd

  1. Output of get_whitelist_methods_in_app

image

License

MIT

About

Frappe ER Generator is application to generate ERD

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%