Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Last label on graph node not left-aligned #582

Closed
spagh-eddie opened this issue Aug 11, 2022 · 0 comments · Fixed by #583
Closed

Last label on graph node not left-aligned #582

spagh-eddie opened this issue Aug 11, 2022 · 0 comments · Fixed by #583
Assignees
Labels

Comments

@spagh-eddie
Copy link
Contributor

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 added a commit to spagh-eddie/transitions that referenced this issue Aug 11, 2022
aleneum pushed a commit that referenced this issue Aug 25, 2022
aleneum added a commit that referenced this issue Aug 25, 2022
- adjust tests for left-aligned labels
aleneum added a commit that referenced this issue Aug 25, 2022
- adjust tests for left-aligned labels
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants