Technically, the diagram is not drawn by hand. The procedure does not have the built-in code for placing the nodes…