Automatic calculation of polygon linking and simple graph creation working - completely inefficient, but working :]