Given that $V = \mathbb{R}^2 - \mathbb{Q}^2$ and ${(x_0,y_0),(x_1,y_1)}\in E$ iff there is no rational point on line connecting $(x_0,y_0)$ and $(x_1,y_1)$ , what is the diameter of G ?
Such that $G = <V,E>$
I know it's bigger than $1$ for instance $(0,-\sqrt{2})$ and $(1,\sqrt{2})$ have no edge between them.
And it's less or equal to $3$ , i think its $2$ but i don't know how to prove it.

For the graph $G = \langle V, E \rangle$ with given vertices $V$ and edges $E$, the diameter is $2$.
Aside from the case
$$(x_0,y_0), (x_1,y_1) \in \mathbb{Q} \times (\mathbb{R}\setminus\mathbb{Q}) \cup (\mathbb{R}\setminus\mathbb{Q}) \times \mathbb{R} $$ it is obvious how to construct a path between $(x_0,y_0), (x_1,y_1)$ with length as most $2$.
By scaling and translation using rational numbers and exchange the role of $x,y$ if needed. It comes down to how to find a path with length $\le 2$ between $(0,p)$ and $(1,q)$ when $p, q \in \mathbb{R} \setminus \mathbb{Q}$.
Recall $\mathbb{R}$ can be viewed as a infinite dimension vector space over $\mathbb{Q}$. If one look at the line segment $(0,p) \to (1,q)$ in $\mathbb{R}^2$, it will intersect $\mathbb{Q}^2$ when and only when the $3$ numbers $\{ 1, p, q \}$ are linear dependent over $\mathbb{Q}$.
When $\{ 1, p, q \}$ are linear independent over $\mathbb{Q}$, the line segment $(0,p) \to (1,q)$ is disjoint from $\mathbb{Q}^2$. In this case, the distance between $(0,p)$ and $(1,q)$ is $1$.
When $\{ 1, p, q \}$ are linear dependent, pick another $r \in \mathbb{R}$ which is linear independent from $1, p, q$ over $\mathbb{Q}$. The line segments $(0,p) \to (\frac12, r)$ and $(\frac12,r) \to (1,q)$ will be disjoint from $\mathbb{Q}^2$. In this case, the distance between $(0,p)$ and $(1,q)$ is $2$.