interactive-graph: Add approx congruent grading to polygons

Test Plan: tested once in test.html. cross fingers

Auditors: alex, justinjaffray