feat: initial documentation of state machine

This commit is contained in:
Ferrari Martino Giordano
2024-03-20 14:28:44 +01:00
parent d5e129c057
commit 553ec62de1
3 changed files with 51 additions and 5 deletions
+1 -1
View File
@@ -575,7 +575,7 @@ def __simple_edges__(edges, datasources):
def __state_simple_graph__(label, state, app):
graph = f"digraph {label[1:]}" + "{\n"
graph += "rankdir = LR;\n"
graph += 'node [shape=rect, style="rounded, filled", fillcolor=white];\n'
graph += 'node [shape=rect, style="filled", fillcolor=white];\n'
graph += f"label=<State: <B>{label[1:]}</B>>;\n"
graph += "fontsize=40;\n"
graph += "\n"