transitions icon indicating copy to clipboard operation
transitions copied to clipboard

Last label on graph node not left-aligned

Open spagh-eddie opened this issue 1 year ago • 0 comments

Describe the bug The last line/label in a node is not left-aligned.

out

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

spagh-eddie avatar Aug 11 '22 19:08 spagh-eddie