MathGraph, draw graphs with some math rules