Step 1: Input the file name that the user want to use as the result file name.

Step 2: Create a file with the name.

Step 3: Write all the nodes into the “*Vertices” section with the number of nodes written after the word “*Vertices”. Note the format requirements.

Step 4: Write each edge of the required graph into the “*Edge” section with their possibilities. Note the format requirements and note that the names of the nodes should be replaced by the No. of the nodes.

Step 5: Save and close the file.