Custom grid

Hi, I started recently working with blender, and I have a problem:
Is there any way, how to create a custom grid, where I can add my own vertexs and edges where i want?
So I don’t want normal square grid, and also not a grid only with horizontal and vertical edges, but i want to add edges from custom point to another with any angle.
Is it possible?