Skip to content
Branch: master
Go to file
Code

Latest commit

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 

README.md

mongoengine-diagrams

Class diagram generator for MongoEngine document schema

To use, start by editing class_diagram.py

  • specify module names in MODULES list
  • define custom object mappings in OID_MAP

Then, run class_diagrams.py <db_host> <db_name>, ensuring that all the modules in MODULES are in your pythonpath.

class_diagram produces output in Graphviz .dot format. Output is sent to stdout. You can use Graphviz to do layout and render the graph to an image, or you can import the .dot file into your favorite diagramming tool (eg. OmniGraffle)

Example diagram here, layout with Graphviz's fdp tool.

About

Class diagram generator for MongoEngine document schema

Resources

Releases

No releases published

Languages

You can’t perform that action at this time.