##OpenCV code to read graps given in the below picture:
the code converts image to black and white then replace circles with rectangle and numbers them
then recognises circles and replaces them with unique numbers
it then recognises the connections by edge detecction
the script then finds if the nodes are connected by rembering the positions of circles/numbers in square --- work in progress