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
<?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="758pt" height="120pt" | |
viewBox="0.00 0.00 758.00 120.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 116)"> | |
<title>enter_field</title> | |
<polygon fill="white" stroke="transparent" points="-4,4 -4,-116 754,-116 754,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="M216,-54.5C216,-54.5 372,-54.5 372,-54.5 375.5,-54.5 379,-58 379,-61.5 379,-61.5 379,-68.5 379,-68.5 379,-72 375.5,-75.5 372,-75.5 372,-75.5 216,-75.5 216,-75.5 212.5,-75.5 209,-72 209,-68.5 209,-68.5 209,-61.5 209,-61.5 209,-58 212.5,-54.5 216,-54.5"/> | |
<text text-anchor="middle" x="294" y="-61.9" font-family="Times-Roman" font-size="12.00">mutt_buffer_enter_fname</text> | |
</g> | |
<!-- mutt_buffer_get_field --> | |
<g id="node2" class="node"> | |
<title>mutt_buffer_get_field</title> | |
<path fill="none" stroke="black" stroke-width="1.5" d="M426,-72.5C426,-72.5 556,-72.5 556,-72.5 559.5,-72.5 563,-76 563,-79.5 563,-79.5 563,-86.5 563,-86.5 563,-90 559.5,-93.5 556,-93.5 556,-93.5 426,-93.5 426,-93.5 422.5,-93.5 419,-90 419,-86.5 419,-86.5 419,-79.5 419,-79.5 419,-76 422.5,-72.5 426,-72.5"/> | |
<text text-anchor="middle" x="491" y="-79.9" font-family="Times-Roman" font-size="12.00">mutt_buffer_get_field</text> | |
</g> | |
<!-- mutt_buffer_enter_fname->mutt_buffer_get_field --> | |
<g id="edge1" class="edge"> | |
<title>mutt_buffer_enter_fname->mutt_buffer_get_field</title> | |
<path fill="none" stroke="black" d="M379.11,-72.76C390.55,-73.82 402.25,-74.9 413.54,-75.94"/> | |
<polygon fill="black" stroke="black" points="413.56,-77.7 418.7,-76.42 413.89,-74.22 413.56,-77.7"/> | |
</g> | |
<!-- mutt_buffer_select_file --> | |
<g id="node3" class="node"> | |
<title>mutt_buffer_select_file</title> | |
<path fill="none" stroke="black" stroke-width="1.5" d="M422,-36.5C422,-36.5 560,-36.5 560,-36.5 563.5,-36.5 567,-40 567,-43.5 567,-43.5 567,-50.5 567,-50.5 567,-54 563.5,-57.5 560,-57.5 560,-57.5 422,-57.5 422,-57.5 418.5,-57.5 415,-54 415,-50.5 415,-50.5 415,-43.5 415,-43.5 415,-40 418.5,-36.5 422,-36.5"/> | |
<text text-anchor="middle" x="491" y="-43.9" font-family="Times-Roman" font-size="12.00">mutt_buffer_select_file</text> | |
</g> | |
<!-- mutt_buffer_enter_fname->mutt_buffer_select_file --> | |
<g id="edge2" class="edge"> | |
<title>mutt_buffer_enter_fname->mutt_buffer_select_file</title> | |
<path fill="none" stroke="black" d="M379.11,-57.24C389.21,-56.3 399.5,-55.35 409.54,-54.43"/> | |
<polygon fill="black" stroke="black" points="409.95,-56.15 414.76,-53.94 409.62,-52.66 409.95,-56.15"/> | |
</g> | |
<!-- mutt_enter_string_full --> | |
<g id="node4" class="node"> | |
<title>mutt_enter_string_full</title> | |
<path fill="none" stroke="black" stroke-width="1.5" d="M610,-36.5C610,-36.5 743,-36.5 743,-36.5 746.5,-36.5 750,-40 750,-43.5 750,-43.5 750,-50.5 750,-50.5 750,-54 746.5,-57.5 743,-57.5 743,-57.5 610,-57.5 610,-57.5 606.5,-57.5 603,-54 603,-50.5 603,-50.5 603,-43.5 603,-43.5 603,-40 606.5,-36.5 610,-36.5"/> | |
<text text-anchor="middle" x="676.5" y="-43.9" font-family="Times-Roman" font-size="12.00">mutt_enter_string_full</text> | |
</g> | |
<!-- mutt_buffer_get_field->mutt_enter_string_full --> | |
<g id="edge3" class="edge"> | |
<title>mutt_buffer_get_field->mutt_enter_string_full</title> | |
<path fill="none" stroke="black" d="M545.57,-72.49C567.89,-68.11 593.89,-63.01 616.74,-58.53"/> | |
<polygon fill="black" stroke="black" points="617.29,-60.2 621.86,-57.52 616.62,-56.77 617.29,-60.2"/> | |
</g> | |
<!-- mutt_enter_string --> | |
<g id="node5" class="node"> | |
<title>mutt_enter_string</title> | |
<path fill="none" stroke="black" stroke-width="1.5" d="M436.5,-0.5C436.5,-0.5 545.5,-0.5 545.5,-0.5 549,-0.5 552.5,-4 552.5,-7.5 552.5,-7.5 552.5,-14.5 552.5,-14.5 552.5,-18 549,-21.5 545.5,-21.5 545.5,-21.5 436.5,-21.5 436.5,-21.5 433,-21.5 429.5,-18 429.5,-14.5 429.5,-14.5 429.5,-7.5 429.5,-7.5 429.5,-4 433,-0.5 436.5,-0.5"/> | |
<text text-anchor="middle" x="491" y="-7.9" font-family="Times-Roman" font-size="12.00">mutt_enter_string</text> | |
</g> | |
<!-- mutt_enter_string->mutt_enter_string_full --> | |
<g id="edge4" class="edge"> | |
<title>mutt_enter_string->mutt_enter_string_full</title> | |
<path fill="none" stroke="black" d="M545.57,-21.51C567.89,-25.89 593.89,-30.99 616.74,-35.47"/> | |
<polygon fill="black" stroke="black" points="616.62,-37.23 621.86,-36.48 617.29,-33.8 616.62,-37.23"/> | |
</g> | |
<!-- mutt_get_field --> | |
<g id="node6" class="node"> | |
<title>mutt_get_field</title> | |
<path fill="none" stroke="black" stroke-width="1.5" d="M250,-90.5C250,-90.5 338,-90.5 338,-90.5 341.5,-90.5 345,-94 345,-97.5 345,-97.5 345,-104.5 345,-104.5 345,-108 341.5,-111.5 338,-111.5 338,-111.5 250,-111.5 250,-111.5 246.5,-111.5 243,-108 243,-104.5 243,-104.5 243,-97.5 243,-97.5 243,-94 246.5,-90.5 250,-90.5"/> | |
<text text-anchor="middle" x="294" y="-97.9" font-family="Times-Roman" font-size="12.00">mutt_get_field</text> | |
</g> | |
<!-- mutt_get_field->mutt_buffer_get_field --> | |
<g id="edge5" class="edge"> | |
<title>mutt_get_field->mutt_buffer_get_field</title> | |
<path fill="none" stroke="black" d="M345.22,-96.36C365.99,-94.45 390.54,-92.18 413.47,-90.06"/> | |
<polygon fill="black" stroke="black" points="413.82,-91.79 418.64,-89.59 413.5,-88.3 413.82,-91.79"/> | |
</g> | |
<!-- mutt_get_field_unbuffered --> | |
<g id="node7" class="node"> | |
<title>mutt_get_field_unbuffered</title> | |
<path fill="none" stroke="black" stroke-width="1.5" d="M7,-90.5C7,-90.5 166,-90.5 166,-90.5 169.5,-90.5 173,-94 173,-97.5 173,-97.5 173,-104.5 173,-104.5 173,-108 169.5,-111.5 166,-111.5 166,-111.5 7,-111.5 7,-111.5 3.5,-111.5 0,-108 0,-104.5 0,-104.5 0,-97.5 0,-97.5 0,-94 3.5,-90.5 7,-90.5"/> | |
<text text-anchor="middle" x="86.5" y="-97.9" font-family="Times-Roman" font-size="12.00">mutt_get_field_unbuffered</text> | |
</g> | |
<!-- mutt_get_field_unbuffered->mutt_get_field --> | |
<g id="edge6" class="edge"> | |
<title>mutt_get_field_unbuffered->mutt_get_field</title> | |
<path fill="none" stroke="black" d="M173.16,-101C194.9,-101 217.68,-101 237.48,-101"/> | |
<polygon fill="black" stroke="black" points="237.71,-102.75 242.71,-101 237.71,-99.25 237.71,-102.75"/> | |
</g> | |
<!-- mutt_select_file --> | |
<g id="node8" class="node"> | |
<title>mutt_select_file</title> | |
<path fill="none" stroke="black" stroke-width="1.5" d="M246,-18.5C246,-18.5 342,-18.5 342,-18.5 345.5,-18.5 349,-22 349,-25.5 349,-25.5 349,-32.5 349,-32.5 349,-36 345.5,-39.5 342,-39.5 342,-39.5 246,-39.5 246,-39.5 242.5,-39.5 239,-36 239,-32.5 239,-32.5 239,-25.5 239,-25.5 239,-22 242.5,-18.5 246,-18.5"/> | |
<text text-anchor="middle" x="294" y="-25.9" font-family="Times-Roman" font-size="12.00">mutt_select_file</text> | |
</g> | |
<!-- mutt_select_file->mutt_buffer_select_file --> | |
<g id="edge7" class="edge"> | |
<title>mutt_select_file->mutt_buffer_select_file</title> | |
<path fill="none" stroke="black" d="M349.06,-33.99C367.76,-35.72 389.15,-37.69 409.51,-39.57"/> | |
<polygon fill="black" stroke="black" points="409.52,-41.33 414.66,-40.05 409.84,-37.84 409.52,-41.33"/> | |
</g> | |
</g> | |
</svg> |
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 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment