How is the function differentiable in graph?

If the graph of the function is a continuous line then the function is differentiable.

Also if the graph suddenly make a deviation at any point then the function is not differentiable at that point .

The slope of a tangent at any point of the graph gives the derivative of the function at that point.