Skip to content

rweeks/mongoengine-diagrams

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

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

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages