Skip to content

Instantly share code, notes, and snippets.

@afomi
Last active August 29, 2015 14:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save afomi/9906e77dfe62fc15066a to your computer and use it in GitHub Desktop.
Save afomi/9906e77dfe62fc15066a to your computer and use it in GitHub Desktop.
agile-pics-data-model-example
<script type="text/vnd.graphviz" id="graphviz">
digraph models_diagram {
graph[overlap=false, splines=true]
"Affiliation" []
"ApiKey" []
"Attachment" []
"Author" []
"Comment" []
"CommentLook" []
"Credential" []
"Figure" []
"IhatJob" []
"Journal" []
"JournalTaskType" []
"Manuscript" []
"ManuscriptManagerTemplate" []
"Paper" []
"PaperReview" []
"PaperRole" []
"Participation" []
"Phase" []
"PhaseTemplate" []
"Question" []
"QuestionAttachment" []
"Role" []
"RoleFlow" []
"Task" []
"TaskTemplate" []
"User" []
"UserFlow" []
"UserRole" []
"Comment" -> "CommentLook" [arrowtail=odot, arrowhead=crow, dir=both color="#650771"]
"Comment" -> "User" [label="participants", arrowtail=crow, arrowhead=crow, dir=both color="#6E863C"]
"CommentLook" -> "Task" [arrowtail=odot, arrowhead=dot, dir=both color="#88E6A2"]
"CommentLook" -> "Phase" [arrowtail=odot, arrowhead=dot, dir=both color="#56CA2B"]
"CommentLook" -> "Paper" [arrowtail=odot, arrowhead=dot, dir=both color="#20B4C6"]
"Journal" -> "Paper" [arrowtail=odot, arrowhead=crow, dir=both color="#4E87AA"]
"Journal" -> "Role" [arrowtail=odot, arrowhead=crow, dir=both color="#6F60D5"]
"Journal" -> "UserRole" [arrowtail=crow, arrowhead=crow, dir=both color="#FE80DB"]
"Journal" -> "User" [arrowtail=crow, arrowhead=crow, dir=both color="#045AE6"]
"Journal" -> "ManuscriptManagerTemplate" [arrowtail=odot, arrowhead=crow, dir=both color="#1657EF"]
"Journal" -> "JournalTaskType" [arrowtail=odot, arrowhead=crow, dir=both color="#3DB766"]
"ManuscriptManagerTemplate" -> "PhaseTemplate" [arrowtail=odot, arrowhead=crow, dir=both color="#20142C"]
"Paper" -> "Manuscript" [arrowtail=odot, arrowhead=dot, dir=both color="#5E4867"]
"Paper" -> "Figure" [arrowtail=odot, arrowhead=crow, dir=both color="#71097C"]
"Paper" -> "SupportingInformation::File" [label="supporting_information_files", arrowtail=odot, arrowhead=crow, dir=both color="#993C2D"]
"Paper" -> "PaperRole" [arrowtail=odot, arrowhead=crow, dir=both color="#192723"]
"Paper" -> "User" [label="assigned_users", arrowtail=crow, arrowhead=crow, dir=both color="#EB46F0"]
"Paper" -> "Phase" [arrowtail=odot, arrowhead=crow, dir=both color="#5E50A3"]
"Paper" -> "Task" [arrowtail=crow, arrowhead=crow, dir=both color="#0980DB"]
"Paper" -> "User" [label="participants", arrowtail=crow, arrowhead=crow, dir=both color="#BD3A0A"]
"Paper" -> "JournalRole" [arrowtail=crow, arrowhead=crow, dir=both color="#E12835"]
"Paper" -> "Author" [arrowtail=odot, arrowhead=crow, dir=both color="#C31461"]
"Participation" -> "Paper" [arrowtail=odot, arrowhead=dot, dir=both color="#C4AB47"]
"Phase" -> "Task" [arrowtail=odot, arrowhead=crow, dir=both color="#C255D6"]
"Phase" -> "Journal" [arrowtail=odot, arrowhead=dot, dir=both color="#D49A81"]
"PhaseTemplate" -> "TaskTemplate" [arrowtail=odot, arrowhead=crow, dir=both color="#26B3E7"]
"PhaseTemplate" -> "Journal" [arrowtail=odot, arrowhead=dot, dir=both color="#D77254"]
"Question" -> "QuestionAttachment" [arrowtail=odot, arrowhead=dot, dir=both color="#493BF8"]
"Role" -> "UserRole" [arrowtail=odot, arrowhead=crow, dir=both color="#8E28D4"]
"Role" -> "User" [arrowtail=crow, arrowhead=crow, dir=both color="#E26291"]
"Role" -> "RoleFlow" [label="flows", arrowtail=odot, arrowhead=crow, dir=both color="#EC21F8"]
"Task" -> "Comment" [arrowtail=odot, arrowhead=crow, dir=both color="#73338A"]
"Task" -> "Paper" [arrowtail=odot, arrowhead=dot, dir=both color="#D81D60"]
"Task" -> "Journal" [arrowtail=odot, arrowhead=dot, dir=both color="#B092B5"]
"Task" -> "Attachment" [arrowtail=odot, arrowhead=crow, dir=both color="#117B91"]
"Task" -> "Question" [arrowtail=odot, arrowhead=crow, dir=both color="#DB28B3"]
"Task" -> "Participation" [arrowtail=odot, arrowhead=crow, dir=both color="#220ED2"]
"Task" -> "User" [label="participants", arrowtail=crow, arrowhead=crow, dir=both color="#60AB43"]
"TaskTemplate" -> "ManuscriptManagerTemplate" [arrowtail=odot, arrowhead=dot, dir=both color="#9ABB30"]
"TaskTemplate" -> "Journal" [arrowtail=odot, arrowhead=dot, dir=both color="#A6B9B8"]
"User" -> "Affiliation" [arrowtail=odot, arrowhead=crow, dir=both color="#E20624"]
"User" -> "Paper" [label="submitted_papers", arrowtail=odot, arrowhead=crow, dir=both color="#AA32F6"]
"User" -> "PaperRole" [arrowtail=odot, arrowhead=crow, dir=both color="#2BECF8"]
"User" -> "UserRole" [arrowtail=odot, arrowhead=crow, dir=both color="#4A97FB"]
"User" -> "UserFlow" [label="flows", arrowtail=odot, arrowhead=crow, dir=both color="#8D173B"]
"User" -> "Comment" [arrowtail=odot, arrowhead=crow, dir=both color="#C93EF1"]
"User" -> "Participation" [arrowtail=odot, arrowhead=crow, dir=both color="#D80598"]
"User" -> "Task" [arrowtail=crow, arrowhead=crow, dir=both color="#8E6063"]
"User" -> "CommentLook" [arrowtail=odot, arrowhead=crow, dir=both color="#AC6DC0"]
"User" -> "Credential" [arrowtail=odot, arrowhead=crow, dir=both color="#99DBD5"]
"User" -> "Paper" [label="assigned_papers", arrowtail=crow, arrowhead=crow, dir=both color="#94B7DD"]
}
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment