ndlib/sipity

View on GitHub
artifacts/for-sufia/sipity-erd.dot

Summary

Maintainability
Test Coverage
digraph models_diagram {
    ranksep=2;
    graph[overlap=false, splines=true]
    "Notification::Email" [shape=Mrecord, label="{Notification::Email|id :integer\lmethod_name :string\l}"]
    "Notification::EmailRecipient" [shape=Mrecord, label="{Notification::EmailRecipient|id :integer\lemail_id :integer\lrole_id :integer\lrecipient_strategy :string\l}"]
    "Notification::NotifiableContext" [shape=Mrecord, label="{Notification::NotifiableContext|id :integer\lscope_for_notification_id :integer\lscope_for_notification_type :string\lreason_for_notification :string\lemail_id :integer\l}"]
    "Processing::Actor" [shape=Mrecord, label="{Processing::Actor|id :integer\lproxy_for_id :string\lproxy_for_type :string\lname_of_proxy :string\l}"]
        "Processing::Entity" [shape=Mrecord, label="{Processing::Entity|id :integer\lproxy_for_id :string\lproxy_for_type :string\lstrategy_id :integer\lstrategy_state_id :integer\l}"]
    "Processing::EntityActionRegister" [shape=Mrecord, label="{Processing::EntityActionRegister|id :integer\lstrategy_action_id :integer\lentity_id :string\lrequested_by_actor_id :integer\lon_behalf_of_actor_id :integer\lsubject_id :string\lsubject_type :string\l}"]
    "Processing::EntitySpecificResponsibility" [shape=Mrecord, label="{Processing::EntitySpecificResponsibility|id :integer\lstrategy_role_id :integer\lentity_id :string\lactor_id :integer\l}"]
    "Processing::Strategy" [shape=Mrecord, label="{Processing::Strategy|id :integer\lname :string\ldescription :text\l}"]
    "Processing::StrategyAction" [shape=Mrecord, label="{Processing::StrategyAction|id :integer\lstrategy_id :integer\lresulting_strategy_state_id :integer\lname :string\laction_type :string\lpresentation_sequence :integer\lallow_repeat_within_current_state :boolean\l}"]
    "Processing::StrategyActionPrerequisite" [shape=Mrecord, label="{Processing::StrategyActionPrerequisite|id :integer\lguarded_strategy_action_id :integer\lprerequisite_strategy_action_id :integer\l}"]
    "Processing::StrategyResponsibility" [shape=Mrecord, label="{Processing::StrategyResponsibility|id :integer\lactor_id :integer\lstrategy_role_id :integer\l}"]
    "Processing::StrategyRole" [shape=Mrecord, label="{Processing::StrategyRole|id :integer\lstrategy_id :integer\lrole_id :integer\l}"]
    "Processing::StrategyState" [shape=Mrecord, label="{Processing::StrategyState|id :integer\lstrategy_id :integer\lname :string\l}"]
    "Processing::StrategyStateAction" [shape=Mrecord, label="{Processing::StrategyStateAction|id :integer\loriginating_strategy_state_id :integer\lstrategy_action_id :integer\l}"]
    "Processing::StrategyStateActionPermission" [shape=Mrecord, label="{Processing::StrategyStateActionPermission|id :integer\lstrategy_role_id :integer\lstrategy_state_action_id :integer\l}"]
    "Role" [shape=Mrecord, label="{Role|id :integer\lname :string\ldescription :text\l}"]

    "Processing::Strategy" -> "Processing::Entity" [arrowtail=odot, arrowhead=crow, dir=both]
    "Processing::Strategy" -> "Processing::StrategyState" [arrowtail=odot, arrowhead=crow, dir=both]
    "Processing::Strategy" -> "Processing::StrategyAction" [arrowtail=odot, arrowhead=crow, dir=both]
    "Processing::Strategy" -> "Processing::StrategyRole" [arrowtail=odot, arrowhead=crow, dir=both]
    "Processing::Entity" -> "Processing::EntityActionRegister" [arrowtail=odot, arrowhead=crow, dir=both]

    "Notification::Email" -> "Notification::NotifiableContext" [arrowtail=odot, arrowhead=crow, dir=both]
    "Notification::Email" -> "Notification::EmailRecipient" [arrowtail=odot, arrowhead=crow, dir=both]
    "Processing::Actor" -> "Processing::StrategyResponsibility" [arrowtail=odot, arrowhead=crow, dir=both]
    "Processing::Actor" -> "Processing::EntitySpecificResponsibility" [arrowtail=odot, arrowhead=crow, dir=both]
    "Processing::Actor" -> "Processing::EntityActionRegister" [arrowtail=odot, arrowhead=crow, dir=both]
    "Processing::Actor" -> "Processing::EntityActionRegister" [arrowtail=odot, arrowhead=crow, dir=both]
    "Processing::StrategyAction" -> "Processing::EntityActionRegister" [arrowtail=odot, arrowhead=crow, dir=both]
    "Processing::StrategyAction" -> "Processing::StrategyStateAction" [arrowtail=odot, arrowhead=crow, dir=both]
    "Processing::StrategyAction" -> "Notification::NotifiableContext" [arrowtail=odot, arrowhead=crow, dir=both]
    "Processing::StrategyAction" -> "Processing::StrategyActionPrerequisite" [arrowtail=odot, arrowhead=crow, dir=both]
    "Processing::StrategyAction" -> "Processing::StrategyActionPrerequisite" [arrowtail=odot, arrowhead=crow, dir=both]
    "Processing::StrategyRole" -> "Processing::StrategyResponsibility" [arrowtail=odot, arrowhead=crow, dir=both]
    "Processing::StrategyRole" -> "Processing::StrategyStateActionPermission" [arrowtail=odot, arrowhead=crow, dir=both]
    "Processing::StrategyRole" -> "Processing::EntitySpecificResponsibility" [arrowtail=odot, arrowhead=crow, dir=both]
    "Processing::StrategyState" -> "Processing::StrategyStateAction" [arrowtail=odot, arrowhead=crow, dir=both]
    "Processing::StrategyState" -> "Processing::StrategyAction" [arrowtail=odot, arrowhead=crow, dir=both]
    "Processing::StrategyState" -> "Processing::Entity" [arrowtail=odot, arrowhead=crow, dir=both]
    "Processing::StrategyState" -> "Notification::NotifiableContext" [arrowtail=odot, arrowhead=crow, dir=both]
    "Processing::StrategyStateAction" -> "Processing::StrategyStateActionPermission" [arrowtail=odot, arrowhead=crow, dir=both]
    "Role" -> "Processing::StrategyRole" [arrowtail=odot, arrowhead=crow, dir=both]
    "Role" -> "Notification::EmailRecipient" [arrowtail=odot, arrowhead=crow, dir=both]
}