Merge pull request #36493 from openedx/feanil/fix_a_graph

docs: Make the graph render correctly.
This commit is contained in:
Feanil Patel
2025-04-09 09:36:35 -04:00
committed by GitHub

View File

@@ -19,9 +19,10 @@ re-tried. You can do this using the Django admin. In this example, a user
retirement errored during forums retirement, so we manually reset their state
from ``ERRORED`` to ``ENROLLMENTS_COMPLETE``.
.. digraph:: retirement_states_example
.. graphviz::
:align: center
digraph G {
//rankdir=LR; // Rank Direction Left to Right
ranksep = "0.3";
@@ -49,6 +50,7 @@ from ``ERRORED`` to ``ENROLLMENTS_COMPLETE``.
}
ERRORED -> ENROLLMENTS_COMPLETE[style="bold,dashed",color=black,label=" via django\nadmin"]
}
Now, the user retirement driver scripts will automatically resume this user's
retirement the next time they are executed.