digraph G { size = "8,11"; node [shape=plaintext] Project [label=<
Project
+created_at : DateTime
+updated_at : DateTime
+id : Integer
+name : String
>]; Region [label=<
Region
+created_at : DateTime
+updated_at : DateTime
+id : Integer
+project_id : Integer
+name : String
+note : String
>]; User [label=<
User
+created_at : DateTime
+updated_at : DateTime
+id : Integer
+project_id : Integer
+username : String
+is_admin : Boolean
+roles : JSONType
>]; Cell [label=<
Cell
+created_at : DateTime
+updated_at : DateTime
+id : Integer
+region_id : Integer
+project_id : Integer
+name : String
+note : String
>]; Device [label=<
Device
+created_at : DateTime
+updated_at : DateTime
+id : Integer
+type : String
+name : String
+region_id : Integer
+project_id : Integer
+ip_address : IPAddressType
+active : Boolean
+note : String
>]; Label [label=<
Label
+created_at : DateTime
+updated_at : DateTime
+id : Integer
+label : String
>]; Host [label=<
Host
+created_at : DateTime
+updated_at : DateTime
+id : Integer
+type : String
+name : String
+region_id : Integer
+cell_id : Integer
+project_id : Integer
+ip_address : IPAddressType
+active : Boolean
+note : String
+access_secret_id : Integer
>]; AccessSecret [label=<
AccessSecret
+created_at : DateTime
+updated_at : DateTime
+id : Integer
+cert : Text
>]; VariableCorrelation [label=<
VariableCorrelation
+created_at : DateTime
+updated_at : DateTime
+id : Integer
+object_id : Integer
+object_type : String
+variable_id : Integer
>]; Variable [label=<
Variable
+created_at : DateTime
+updated_at : DateTime
+id : Integer
+variable : String
>]; Project -> Region [dir=both headlabel=" *" fontsize="8" taillabel="1 "]; Project -> User [dir=both headlabel="* " fontsize="8" taillabel="1 "]; Project -> Cell [dir=both headlabel=" *" fontsize="8" taillabel="  1"]; Region -> Cell [dir=both headlabel="* " fontsize="8" taillabel="1 "]; Project -> Device [dir=both headlabel="* " fontsize="8" taillabel="1 "]; Region -> Device [dir=both headlabel="* " fontsize="8" taillabel="1 "]; Cell -> Device [dir=both headlabel="* " fontsize="8" taillabel="1 "]; Label -> Device [dir=both headlabel="* " fontsize="8" taillabel="1 "]; Device -> Host [dir=none]; Host -> AccessSecret [dir=both headlabel="0..1 " fontsize="8" taillabel="1 "]; VariableCorrelation -> Variable [dir=both headlabel="1 " fontsize="8" taillabel="1 "]; VariableCorrelation -> Region [dir=both headlabel=" 0..1" fontsize="8" taillabel="* "]; VariableCorrelation -> Cell [dir=both headlabel=" 0..1" fontsize="8" taillabel="* "]; VariableCorrelation -> Device [dir=both headlabel=" 0..1" fontsize="8" taillabel="* "]; VariableCorrelation -> Label [dir=both headlabel=" 0..1" fontsize="8" taillabel="* "]; VariableCorrelation -> User [dir=both headlabel=" \n0..1" fontsize="8" taillabel="*"]; VariableCorrelation -> Host [dir=both headlabel=" 0..1" fontsize="8" taillabel= "* "]; }