Your image is of a 3D object which has elements passing over/under in 3-dimensional space.
To simulate that you would need to have geometry which allows cutting some sections deeper/shallower than others in a fashion which seems to make things pass under/over.
See:
If you’ll let us know the specifics of what you are trying to do and post a file showing where you are stuck we can walk through this with you.