transitions
transitions copied to clipboard
Last label on graph node not left-aligned
Describe the bug The last line/label in a node is not left-aligned.
Minimal working example
from transitions.extensions.diagrams import GraphMachine
m = GraphMachine(
states=[{"name": "initial", "on_enter": ["this is odd", "behavior", "see?"]}],
show_state_attributes=True,
)
m.get_graph().draw("out.png", prog="dot")
Expected behavior I expect the labels to be consistently left-aligned.
Additional context Using transitions version 0.8.10