Spaces:
Sleeping
Sleeping
| digraph { | |
| node [fillcolor=lightblue shape=box style=filled] | |
| line0 [label="def example_function(x):"] | |
| line1 [label="if x < 0:"] | |
| line1 -> line2 [label=True] | |
| line2 [label="return 'Negative'" shape=oval] | |
| line2 -> line3 | |
| line3 [label="elif x == 0:"] | |
| line3 -> line4 [label=True] | |
| line4 [label="return 'Zero'" shape=oval] | |
| line4 -> line5 | |
| line5 [label="else:"] | |
| line5 -> line6 [label=True] | |
| line6 [label="return 'Positive'" shape=oval] | |
| } | |