In [1]:
Copied!
from eralchemy import render_er
from biokb_coconut.db.models import Base
import os
from eralchemy import render_er
from eralchemy.cst import dot_crowfoot, dot_digraph
dot_crowfoot()
dot_digraph()
from eralchemy import render_er
from biokb_coconut.db.models import Base
import os
from eralchemy import render_er
from eralchemy.cst import dot_crowfoot, dot_digraph
dot_crowfoot()
dot_digraph()
Entity-relationship diagram¶
This notebook is used to generate an entity-relationship diagram from the SQLAlchemy models defined in the biokb_coconut package.
In [2]:
Copied!
render_er(Base, os.path.join("..", "imgs", "erd_from_sqlalchemy.png"))
render_er(Base, os.path.join("..", "imgs", "erd_from_sqlalchemy.png"))

