diff options
Diffstat (limited to 'stator/graph.py')
-rw-r--r-- | stator/graph.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/stator/graph.py b/stator/graph.py index 436638b..424ea49 100644 --- a/stator/graph.py +++ b/stator/graph.py @@ -104,6 +104,9 @@ class State: def __repr__(self): return f"<State {self.name}>" + def __str__(self): + return self.name + def __eq__(self, other): if isinstance(other, State): return self is other |