Graph.render(...) runs only if sizes of canvas are positive
Graph3D.render(...) runs only if sizes of canvas are positive