Are you sure you mean exponential? I think quadratic is a more reasonable guess.
Edit: And polynomial is O(n^m).
But obviously the real answer is to write a program that will correctly verify all other programs.
Make a table with columns being # points and the # lines you can draw between them.
1 0 2 1 3 3 (triangle) 4 6 (box with a criss cross) 5 10 (5 point star, with everything connected) ...
This relation is n * (n - 1) / 2
Not sure what you mean by "geometric" in this context.