How to run

  1. Please install node if not already available.

  2. After Installing node run the below command:

	node output.js [graph-coordinates]

Example (as given in the question):

	node output.js AB5 BC4 CD8 DC8 DE6 AD5 CE2 EB3 AE7

Note: Remove any commas , if present from the [graph-coordinates] to make it work.