docs/diagrams/states.dot
digraph models_diagram {
graph[overlap=false, splines=true]
_diagram_info [shape="plaintext", label="Models diagram\lDate: May 20 2009 - 23:49\lMigration version: 20090520220237\lGenerated by RailRoad 0.7.7\l", fontsize=14]
subgraph cluster_user {
label = "User"
user_passive [label=passive ];
user_pending [label=pending ];
user_active [label=active ];
user_suspended [label=suspended ];
user_deleted [label=deleted ];} "user_suspended" -> "user_active" [label=unsuspend, fontsize=10]
"user_suspended" -> "user_pending" [label=unsuspend, fontsize=10]
"user_suspended" -> "user_passive" [label=unsuspend, fontsize=10]
"user_passive" -> "user_pending" [label=register, fontsize=10]
"user_pending" -> "user_active" [label=activate, fontsize=10]
"user_passive" -> "user_deleted" [label=delete, fontsize=10]
"user_pending" -> "user_deleted" [label=delete, fontsize=10]
"user_active" -> "user_deleted" [label=delete, fontsize=10]
"user_suspended" -> "user_deleted" [label=delete, fontsize=10]
"user_passive" -> "user_suspended" [label=suspend, fontsize=10]
"user_pending" -> "user_suspended" [label=suspend, fontsize=10]
"user_active" -> "user_suspended" [label=suspend, fontsize=10]
}