yemikudaisi / frappeviz

Python app for visualizing class diagrams for a Frappe Framework App using PlantUML

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Frappe App Visualizer

A python app for visualizing class diagrams of a Frappe App's doctypes using PlantUML

Screenshot

Dependencies

Installation

$ pip install frappeviz

Usage

Command Line

$ frappeviz [-h] [--output output-dir] [--format {txt,img,all}]
                 frappe-app-directory

Arguments

  • -h: help
  • --output / -o: output directory
  • --format / -f: Output format (txt | img | all)
  • frappe directory

Example

$ frappeviz path/to/frappe/app/dir -o /path/to/output/dir -f img

Module

>>> from frappeviz import generate_uml
>>> generate_uml('path/to/frappe/app/dir', '/path/to/output/dir' 'img')

The UML for each module in the app is generated in separate files (PlantUML text and .png images) that shares the same name as the app's respective modules.

Supported Environment

Tested on the following OS:

  • Ubuntu OS
  • macOS

About

Python app for visualizing class diagrams for a Frappe Framework App using PlantUML

License:MIT License


Languages

Language:Python 100.0%