Added first part of DFA handout

This commit is contained in:
2023-05-14 09:42:14 -07:00
parent 36a70306d1
commit e3fd62c791
3 changed files with 464 additions and 65 deletions

View File

@ -17,29 +17,63 @@
execute at end scope={\endpgfonlayer}
},
%
% Arrowhead tweaks
% Arrowhead tweak
>={Latex[ width=2mm, length=2mm ]},
%
% Labels inside edges
label/.style = {
circle,
rectangle,
% For automatic red background in solutions
fill = \ORMCbgcolor,
draw = none
draw = none,
rounded corners = 0mm
},
%
% Nodes
main/.style = {
draw,
circle,
fill = white
fill = white,
line width = 0.35mm
},
accept/.style = {
draw,
circle,
fill = white,
double,
double distance = 0.5mm,
line width = 0.35mm
},
hatch/.style = {
pattern=north west lines,
pattern color=gray
start/.style = {
draw,
rectangle,
fill = white,
line width = 0.35mm
},
%
% Loop tweaks
loop above/.style = {
min distance = 2mm,
looseness = 8,
out = 45,
in = 135
},
loop below/.style = {
min distance = 5mm,
looseness = 10,
out = 315,
in = 225
},
loop right/.style = {
min distance = 5mm,
looseness = 10,
out = 45,
in = 315
},
loop left/.style = {
min distance = 5mm,
looseness = 10,
out = 135,
in = 215
}
}