ShmulTomer / automata

Automata Designer
https://drawautomata.xyz/
3 stars 0 forks source link

centered the labels for all text sizes #48

Closed AuWiMo closed 3 months ago

AuWiMo commented 3 months ago

We previously had an error where long labels in nodes were not centered. I changed our text from being the value (?) of the node to being a literal label

akaashdash commented 3 months ago

i feel like this violates the way tikz intended for node labeling to be done, but it works well and solves the problem

LGTM 🤝

ShmulTomer commented 3 months ago

maybe a nitpick, but can we decrease the size of the text slightly in LaTeX? I did some testing to make sure everything is 1:1 and the text seems a good bit larger in LaTeX

on the website:

image

on LaTeX:

image

see where hello starts on each

ShmulTomer commented 3 months ago

maybe also italicizing the text on the UI, or unitalizicing the text on LaTeX