|
|
Line 6: |
Line 6: |
| <graphviz> | | <graphviz> |
| digraph g { | | digraph g { |
− | graph [
| |
− | rankdir = "RL",
| |
− | concentrate = true,
| |
− | ratio = auto
| |
− | ];
| |
− | node [
| |
− | fontsize = "18",
| |
− | shape = record, fontsize = 18
| |
− | ];
| |
− | edge [
| |
− | ];
| |
| | | |
− | "Records" [shape = record, fontsize = 18, label = "(Any RT::Record)" ];
| + | node [fontname="Helvetica", fontsize="11"] |
− | "Records" -> "Principals" [label = "Creator -> id"];
| + | edge [fontname="Helvetica"] |
− | "ACL" [shape = record, fontsize = 18, label = "<col0> \N " ];
| |
− | "ACL" -> "Principals" [label="PrincipalId -> id"];
| |
− | "ACL" -> "Principals" [label="DelegatedBy -> id"];
| |
− | "ACL" -> "ACL" [label="DelegatedFrom -> id"];
| |
| | | |
− | "Attachments" [shape = record, fontsize = 18, label = "<col0> \N " ];
| + | groupings_schedules -> groupings [arrowhead = "crow"] |
− | "Attachments" -> "Transactions" [label="TransactionId -> id"];
| + | groupings_schedules -> schedules[arrowhead = "crow"] |
− | "Attachments" -> "Attachments" [label="Parent -> id"];
| |
| | | |
− | "CachedGroupMemers" [shape = record, fontsize = 18, label = "<col0> \N " ];
| + | schedules -> virtual_shifts [arrowhead = "crow"] |
− | "CachedGroupMemers" -> "Groups" [label="GroupId -> id", weight=2];
| + | schedules -> jobs [arrowhead = "crow"] |
− | "CachedGroupMemers" -> "Principals" [label="MemberId -> id"];
| + | schedules -> actual_shifts [arrowhead = "crow"] |
− | "CachedGroupMemers" -> "CachedGroupMemers" [label="Via -> id"];
| |
− | "CachedGroupMemers" -> "Groups" [label="ImmediateParentId -> id"];
| |
| | | |
− | "CustomFields" [shape = record, fontsize = 18, label = "<col0> \N " ];
| + | virtual_shifts -> actual_shifts [arrowhead = "crow"] |
| | | |
− | "CustomFieldValues" [shape = record, fontsize = 18, label = "<col0> \N " ];
| + | jobs -> actual_shifts [arrowhead = "crow"] |
− | "CustomFieldValues" -> "CustomFields" [label="CustomField -> id"];
| + | jobs -> virtual_shifts [arrowhead = "crow"] |
| | | |
− | "GroupMembers" [shape = record, fontsize = 18, label = "<col0> \N " ];
| + | volunteers -> actual_shifts [arrowhead = "crow"] |
− | "GroupMembers" -> "Groups" [label="GroupId -> id", weight=2];
| + | volunteers -> virtual_shifts [arrowhead = "crow"] |
− | "GroupMembers" -> "Principals" [label="MemberId -> id", weight = 2];
| |
− | | |
− | "Groups" [shape = record, fontsize = 18, label = "<col0> \N " ];
| |
− | "Groups" -> "Principals" [label="Groups.id -> id"];
| |
− | | |
− | "Links" [shape = record, fontsize = 18, label = "<col0> \N " ];
| |
− | "Links" -> "Tickets" [label="LocalBase => id (usually)", style="dotted"];
| |
− | "Links" -> "Tickets" [label="LocalTarget => id (usually)", style="dotted"];
| |
− | | |
− | "Principals" [shape = record, fontsize = 18, label = "<col0> \N " ];
| |
− | | |
− | "Attributes" [shape = record, fontsize = 18, label = "<col0> \N " ];
| |
− | "Attributes" -> "Records" [label="ObjectId -> id"];
| |
− | | |
− | "Queues" [shape = record, fontsize = 18, label = "<col0> \N " ];
| |
− | | |
− | "ScripActions" [shape = record, fontsize = 18, label = "<col0> \N " ];
| |
− | | |
− | "ScripConditions" [shape = record, fontsize = 18, label = "<col0> \N " ];
| |
− | | |
− | "Scrips" [shape = record, fontsize = 18, label = "<col0> \N " ];
| |
− | "Scrips" -> "ScripConditions" [label="ScripCondition -> id"];
| |
− | "Scrips" -> "ScripActions" [label="ScripAction -> id"];
| |
− | "Scrips" -> "Templates" [label="Template -> id"];
| |
− | "Scrips" -> "Queues" [label="Queue -> id"];
| |
− | | |
− | "Templates" [shape = record, fontsize = 18, label = "<col0> \N " ];
| |
− | "Templates" -> "Queues" [label ="Queue -> id" ];
| |
− | | |
− | "ObjectCustomFields" [shape = record, fontsize = 18, label = "<col0> \N " ];
| |
− | "ObjectCustomFields" -> "CustomFields" [label="CustomField -> id"];
| |
− | "ObjectCustomFields" -> "Records" [label="ObjectId -> id"];
| |
− | | |
− | "ObjectCustomFieldValues" [shape = record, fontsize = 18, label = "<col0> \N " ];
| |
− | "ObjectCustomFieldValues" -> "CustomFields" [label="CustomField -> id"];
| |
− | "ObjectCustomFieldValues" -> "Records" [label="ObjectId -> id"];
| |
− | | |
− | "Tickets" [shape = record, fontsize = 18, label = "<col0> \N " ];
| |
− | "Tickets" -> "Tickets" [label="EffectiveId -> id"];
| |
− | "Tickets" -> "Principals" [label="Owner -> id"];
| |
− | "Queues" -> "Tickets" [style="invis"];
| |
− | "Tickets" -> "Queues" [label="Queue -> id"];
| |
− | | |
− | "Transactions" [shape = record, fontsize = 18, label = "<col0> \N " ];
| |
− | "Transactions" -> "Records" [label="ObjectId -> id"];
| |
− | | |
− | "Users" [shape = record, fontsize = 18, label = "<col0> \N " ];
| |
− | | |
− | "Users" -> "Principals" [label="id -> id"];
| |
| | | |
| | | |
| } | | } |
| </graphviz> | | </graphviz> |