1. Summary
  2. Files
  3. Support
  4. Report Spam
  5. Create account
  6. Log in

Data model

From brickit

Jump to: navigation, search

The brickIt data model is defined in djbrickit/models.py.

It currently looks like this (image created with the modelviz.py script which is also checked in:
[file:data_model_simplified_v02.png]
image:Data_model_simplified_v02.png

Note:

Sorry about the oversized image! Biobrick, Vector, Sample, Container, and Sequencing furthermore have an optional 'users' field. For clarity, I've commented these fields out before creating the image. Click here for the full data model at higher resolution:
[image:data_model_full_v02.png]

Issue the following commands to create this image from your own model definition (requires the graphviz package):

cd py/brickitproject/brickit
../scripts/modelviz.py registry >! data_model.dot
dot data_model.dot -Tpng -o data_model.png
Personal tools