Created
February 18, 2021 14:24
-
-
Save flatcap/d120ee4a39aad9365a94f4a5d23b8f51 to your computer and use it in GitHub Desktop.
refactor enter_field
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
digraph enter_field | |
{ | |
graph [ | |
rankdir="LR" | |
nodesep="0.2" | |
ranksep="0.5" | |
compound="true" | |
] | |
node [ | |
shape="Mrecord" | |
fontsize="12" | |
style="rounded" | |
height="0.2" | |
penwidth="1.5" | |
color="black" | |
] | |
edge [ | |
penwidth="1.0" | |
arrowsize="0.5" | |
] | |
mutt_buffer_enter_fname -> mutt_buffer_get_field | |
mutt_buffer_enter_fname -> mutt_buffer_select_file | |
mutt_buffer_get_field -> mutt_enter_string_full | |
mutt_enter_string -> mutt_enter_string_full | |
mutt_get_field -> mutt_buffer_get_field | |
mutt_get_field_unbuffered -> mutt_get_field | |
mutt_select_file -> mutt_buffer_select_file | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
digraph enter_field | |
{ | |
graph [ | |
rankdir="LR" | |
nodesep="0.2" | |
ranksep="0.5" | |
compound="true" | |
] | |
node [ | |
shape="Mrecord" | |
fontsize="12" | |
style="rounded" | |
height="0.2" | |
penwidth="1.5" | |
color="black" | |
] | |
edge [ | |
penwidth="1.0" | |
arrowsize="0.5" | |
] | |
mutt_buffer_enter_fname -> mutt_buffer_enter_fname_full | |
mutt_buffer_enter_fname_full -> mutt_buffer_get_field_full | |
mutt_buffer_enter_fname_full -> mutt_buffer_select_file | |
mutt_buffer_get_field -> mutt_buffer_get_field_full | |
mutt_buffer_get_field_full -> mutt_enter_string_full | |
mutt_enter_string -> mutt_enter_string_full | |
mutt_get_field -> mutt_get_field_full | |
mutt_get_password -> mutt_get_field_unbuffered | |
mutt_get_field_full -> mutt_buffer_get_field_full | |
mutt_get_field_unbuffered -> mutt_get_field | |
mutt_select_file -> mutt_buffer_select_file | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" | |
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> | |
<!-- Generated by graphviz version 2.44.0 (0) | |
--> | |
<!-- Title: enter_field Pages: 1 --> | |
<svg width="1173pt" height="138pt" | |
viewBox="0.00 0.00 1173.00 138.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> | |
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 134)"> | |
<title>enter_field</title> | |
<polygon fill="white" stroke="transparent" points="-4,4 -4,-134 1169,-134 1169,4 -4,4"/> | |
<!-- mutt_buffer_enter_fname --> | |
<g id="node1" class="node"> | |
<title>mutt_buffer_enter_fname</title> | |
<path fill="none" stroke="black" stroke-width="1.5" d="M385,-72.5C385,-72.5 541,-72.5 541,-72.5 544.5,-72.5 548,-76 548,-79.5 548,-79.5 548,-86.5 548,-86.5 548,-90 544.5,-93.5 541,-93.5 541,-93.5 385,-93.5 385,-93.5 381.5,-93.5 378,-90 378,-86.5 378,-86.5 378,-79.5 378,-79.5 378,-76 381.5,-72.5 385,-72.5"/> | |
<text text-anchor="middle" x="463" y="-79.9" font-family="Times-Roman" font-size="12.00">mutt_buffer_enter_fname</text> | |
</g> | |
<!-- mutt_buffer_enter_fname_full --> | |
<g id="node2" class="node"> | |
<title>mutt_buffer_enter_fname_full</title> | |
<path fill="none" stroke="black" stroke-width="1.5" d="M591,-72.5C591,-72.5 771,-72.5 771,-72.5 774.5,-72.5 778,-76 778,-79.5 778,-79.5 778,-86.5 778,-86.5 778,-90 774.5,-93.5 771,-93.5 771,-93.5 591,-93.5 591,-93.5 587.5,-93.5 584,-90 584,-86.5 584,-86.5 584,-79.5 584,-79.5 584,-76 587.5,-72.5 591,-72.5"/> | |
<text text-anchor="middle" x="681" y="-79.9" font-family="Times-Roman" font-size="12.00">mutt_buffer_enter_fname_full</text> | |
</g> | |
<!-- mutt_buffer_enter_fname->mutt_buffer_enter_fname_full --> | |
<g id="edge1" class="edge"> | |
<title>mutt_buffer_enter_fname->mutt_buffer_enter_fname_full</title> | |
<path fill="none" stroke="black" d="M548.13,-83C558.21,-83 568.58,-83 578.86,-83"/> | |
<polygon fill="black" stroke="black" points="578.91,-84.75 583.91,-83 578.91,-81.25 578.91,-84.75"/> | |
</g> | |
<!-- mutt_buffer_get_field_full --> | |
<g id="node3" class="node"> | |
<title>mutt_buffer_get_field_full</title> | |
<path fill="none" stroke="black" stroke-width="1.5" d="M821,-36.5C821,-36.5 975,-36.5 975,-36.5 978.5,-36.5 982,-40 982,-43.5 982,-43.5 982,-50.5 982,-50.5 982,-54 978.5,-57.5 975,-57.5 975,-57.5 821,-57.5 821,-57.5 817.5,-57.5 814,-54 814,-50.5 814,-50.5 814,-43.5 814,-43.5 814,-40 817.5,-36.5 821,-36.5"/> | |
<text text-anchor="middle" x="898" y="-43.9" font-family="Times-Roman" font-size="12.00">mutt_buffer_get_field_full</text> | |
</g> | |
<!-- mutt_buffer_enter_fname_full->mutt_buffer_get_field_full --> | |
<g id="edge2" class="edge"> | |
<title>mutt_buffer_enter_fname_full->mutt_buffer_get_field_full</title> | |
<path fill="none" stroke="black" d="M744.76,-72.49C771.25,-68.06 802.15,-62.88 829.16,-58.36"/> | |
<polygon fill="black" stroke="black" points="829.51,-60.07 834.16,-57.52 828.94,-56.62 829.51,-60.07"/> | |
</g> | |
<!-- mutt_buffer_select_file --> | |
<g id="node4" class="node"> | |
<title>mutt_buffer_select_file</title> | |
<path fill="none" stroke="black" stroke-width="1.5" d="M829,-72.5C829,-72.5 967,-72.5 967,-72.5 970.5,-72.5 974,-76 974,-79.5 974,-79.5 974,-86.5 974,-86.5 974,-90 970.5,-93.5 967,-93.5 967,-93.5 829,-93.5 829,-93.5 825.5,-93.5 822,-90 822,-86.5 822,-86.5 822,-79.5 822,-79.5 822,-76 825.5,-72.5 829,-72.5"/> | |
<text text-anchor="middle" x="898" y="-79.9" font-family="Times-Roman" font-size="12.00">mutt_buffer_select_file</text> | |
</g> | |
<!-- mutt_buffer_enter_fname_full->mutt_buffer_select_file --> | |
<g id="edge3" class="edge"> | |
<title>mutt_buffer_enter_fname_full->mutt_buffer_select_file</title> | |
<path fill="none" stroke="black" d="M778.18,-83C791,-83 804.03,-83 816.54,-83"/> | |
<polygon fill="black" stroke="black" points="816.87,-84.75 821.87,-83 816.87,-81.25 816.87,-84.75"/> | |
</g> | |
<!-- mutt_enter_string_full --> | |
<g id="node6" class="node"> | |
<title>mutt_enter_string_full</title> | |
<path fill="none" stroke="black" stroke-width="1.5" d="M1025,-72.5C1025,-72.5 1158,-72.5 1158,-72.5 1161.5,-72.5 1165,-76 1165,-79.5 1165,-79.5 1165,-86.5 1165,-86.5 1165,-90 1161.5,-93.5 1158,-93.5 1158,-93.5 1025,-93.5 1025,-93.5 1021.5,-93.5 1018,-90 1018,-86.5 1018,-86.5 1018,-79.5 1018,-79.5 1018,-76 1021.5,-72.5 1025,-72.5"/> | |
<text text-anchor="middle" x="1091.5" y="-79.9" font-family="Times-Roman" font-size="12.00">mutt_enter_string_full</text> | |
</g> | |
<!-- mutt_buffer_get_field_full->mutt_enter_string_full --> | |
<g id="edge5" class="edge"> | |
<title>mutt_buffer_get_field_full->mutt_enter_string_full</title> | |
<path fill="none" stroke="black" d="M954.9,-57.51C978.3,-61.91 1005.56,-67.03 1029.48,-71.53"/> | |
<polygon fill="black" stroke="black" points="1029.29,-73.27 1034.53,-72.48 1029.94,-69.83 1029.29,-73.27"/> | |
</g> | |
<!-- mutt_buffer_get_field --> | |
<g id="node5" class="node"> | |
<title>mutt_buffer_get_field</title> | |
<path fill="none" stroke="black" stroke-width="1.5" d="M616,-36.5C616,-36.5 746,-36.5 746,-36.5 749.5,-36.5 753,-40 753,-43.5 753,-43.5 753,-50.5 753,-50.5 753,-54 749.5,-57.5 746,-57.5 746,-57.5 616,-57.5 616,-57.5 612.5,-57.5 609,-54 609,-50.5 609,-50.5 609,-43.5 609,-43.5 609,-40 612.5,-36.5 616,-36.5"/> | |
<text text-anchor="middle" x="681" y="-43.9" font-family="Times-Roman" font-size="12.00">mutt_buffer_get_field</text> | |
</g> | |
<!-- mutt_buffer_get_field->mutt_buffer_get_field_full --> | |
<g id="edge4" class="edge"> | |
<title>mutt_buffer_get_field->mutt_buffer_get_field_full</title> | |
<path fill="none" stroke="black" d="M753.29,-47C771.06,-47 790.32,-47 808.79,-47"/> | |
<polygon fill="black" stroke="black" points="808.98,-48.75 813.98,-47 808.98,-45.25 808.98,-48.75"/> | |
</g> | |
<!-- mutt_enter_string --> | |
<g id="node7" class="node"> | |
<title>mutt_enter_string</title> | |
<path fill="none" stroke="black" stroke-width="1.5" d="M843.5,-108.5C843.5,-108.5 952.5,-108.5 952.5,-108.5 956,-108.5 959.5,-112 959.5,-115.5 959.5,-115.5 959.5,-122.5 959.5,-122.5 959.5,-126 956,-129.5 952.5,-129.5 952.5,-129.5 843.5,-129.5 843.5,-129.5 840,-129.5 836.5,-126 836.5,-122.5 836.5,-122.5 836.5,-115.5 836.5,-115.5 836.5,-112 840,-108.5 843.5,-108.5"/> | |
<text text-anchor="middle" x="898" y="-115.9" font-family="Times-Roman" font-size="12.00">mutt_enter_string</text> | |
</g> | |
<!-- mutt_enter_string->mutt_enter_string_full --> | |
<g id="edge6" class="edge"> | |
<title>mutt_enter_string->mutt_enter_string_full</title> | |
<path fill="none" stroke="black" d="M954.9,-108.49C978.3,-104.09 1005.56,-98.97 1029.48,-94.47"/> | |
<polygon fill="black" stroke="black" points="1029.94,-96.17 1034.53,-93.52 1029.29,-92.73 1029.94,-96.17"/> | |
</g> | |
<!-- mutt_get_field --> | |
<g id="node8" class="node"> | |
<title>mutt_get_field</title> | |
<path fill="none" stroke="black" stroke-width="1.5" d="M419,-0.5C419,-0.5 507,-0.5 507,-0.5 510.5,-0.5 514,-4 514,-7.5 514,-7.5 514,-14.5 514,-14.5 514,-18 510.5,-21.5 507,-21.5 507,-21.5 419,-21.5 419,-21.5 415.5,-21.5 412,-18 412,-14.5 412,-14.5 412,-7.5 412,-7.5 412,-4 415.5,-0.5 419,-0.5"/> | |
<text text-anchor="middle" x="463" y="-7.9" font-family="Times-Roman" font-size="12.00">mutt_get_field</text> | |
</g> | |
<!-- mutt_get_field_full --> | |
<g id="node9" class="node"> | |
<title>mutt_get_field_full</title> | |
<path fill="none" stroke="black" stroke-width="1.5" d="M625,-0.5C625,-0.5 737,-0.5 737,-0.5 740.5,-0.5 744,-4 744,-7.5 744,-7.5 744,-14.5 744,-14.5 744,-18 740.5,-21.5 737,-21.5 737,-21.5 625,-21.5 625,-21.5 621.5,-21.5 618,-18 618,-14.5 618,-14.5 618,-7.5 618,-7.5 618,-4 621.5,-0.5 625,-0.5"/> | |
<text text-anchor="middle" x="681" y="-7.9" font-family="Times-Roman" font-size="12.00">mutt_get_field_full</text> | |
</g> | |
<!-- mutt_get_field->mutt_get_field_full --> | |
<g id="edge7" class="edge"> | |
<title>mutt_get_field->mutt_get_field_full</title> | |
<path fill="none" stroke="black" d="M514.1,-11C543.44,-11 580.87,-11 612.75,-11"/> | |
<polygon fill="black" stroke="black" points="612.81,-12.75 617.81,-11 612.81,-9.25 612.81,-12.75"/> | |
</g> | |
<!-- mutt_get_field_full->mutt_buffer_get_field_full --> | |
<g id="edge9" class="edge"> | |
<title>mutt_get_field_full->mutt_buffer_get_field_full</title> | |
<path fill="none" stroke="black" d="M744.19,-21.41C770.81,-25.87 801.96,-31.09 829.17,-35.64"/> | |
<polygon fill="black" stroke="black" points="828.99,-37.39 834.21,-36.49 829.57,-33.93 828.99,-37.39"/> | |
</g> | |
<!-- mutt_get_password --> | |
<g id="node10" class="node"> | |
<title>mutt_get_password</title> | |
<path fill="none" stroke="black" stroke-width="1.5" d="M7,-0.5C7,-0.5 126,-0.5 126,-0.5 129.5,-0.5 133,-4 133,-7.5 133,-7.5 133,-14.5 133,-14.5 133,-18 129.5,-21.5 126,-21.5 126,-21.5 7,-21.5 7,-21.5 3.5,-21.5 0,-18 0,-14.5 0,-14.5 0,-7.5 0,-7.5 0,-4 3.5,-0.5 7,-0.5"/> | |
<text text-anchor="middle" x="66.5" y="-7.9" font-family="Times-Roman" font-size="12.00">mutt_get_password</text> | |
</g> | |
<!-- mutt_get_field_unbuffered --> | |
<g id="node11" class="node"> | |
<title>mutt_get_field_unbuffered</title> | |
<path fill="none" stroke="black" stroke-width="1.5" d="M176,-0.5C176,-0.5 335,-0.5 335,-0.5 338.5,-0.5 342,-4 342,-7.5 342,-7.5 342,-14.5 342,-14.5 342,-18 338.5,-21.5 335,-21.5 335,-21.5 176,-21.5 176,-21.5 172.5,-21.5 169,-18 169,-14.5 169,-14.5 169,-7.5 169,-7.5 169,-4 172.5,-0.5 176,-0.5"/> | |
<text text-anchor="middle" x="255.5" y="-7.9" font-family="Times-Roman" font-size="12.00">mutt_get_field_unbuffered</text> | |
</g> | |
<!-- mutt_get_password->mutt_get_field_unbuffered --> | |
<g id="edge8" class="edge"> | |
<title>mutt_get_password->mutt_get_field_unbuffered</title> | |
<path fill="none" stroke="black" d="M133.17,-11C143.11,-11 153.53,-11 163.89,-11"/> | |
<polygon fill="black" stroke="black" points="163.97,-12.75 168.97,-11 163.97,-9.25 163.97,-12.75"/> | |
</g> | |
<!-- mutt_get_field_unbuffered->mutt_get_field --> | |
<g id="edge10" class="edge"> | |
<title>mutt_get_field_unbuffered->mutt_get_field</title> | |
<path fill="none" stroke="black" d="M342.16,-11C363.9,-11 386.68,-11 406.48,-11"/> | |
<polygon fill="black" stroke="black" points="406.71,-12.75 411.71,-11 406.71,-9.25 406.71,-12.75"/> | |
</g> | |
<!-- mutt_select_file --> | |
<g id="node12" class="node"> | |
<title>mutt_select_file</title> | |
<path fill="none" stroke="black" stroke-width="1.5" d="M633,-108.5C633,-108.5 729,-108.5 729,-108.5 732.5,-108.5 736,-112 736,-115.5 736,-115.5 736,-122.5 736,-122.5 736,-126 732.5,-129.5 729,-129.5 729,-129.5 633,-129.5 633,-129.5 629.5,-129.5 626,-126 626,-122.5 626,-122.5 626,-115.5 626,-115.5 626,-112 629.5,-108.5 633,-108.5"/> | |
<text text-anchor="middle" x="681" y="-115.9" font-family="Times-Roman" font-size="12.00">mutt_select_file</text> | |
</g> | |
<!-- mutt_select_file->mutt_buffer_select_file --> | |
<g id="edge11" class="edge"> | |
<title>mutt_select_file->mutt_buffer_select_file</title> | |
<path fill="none" stroke="black" d="M736.25,-109.92C764.36,-105.21 798.96,-99.42 828.85,-94.41"/> | |
<polygon fill="black" stroke="black" points="829.35,-96.1 833.99,-93.55 828.77,-92.65 829.35,-96.1"/> | |
</g> | |
</g> | |
</svg> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment