Doubt about grasshopper

Hello
What type of function is used to prevent the curves from crossing over each other? Is this process complex for someone learning to use Grasshopper?
Thanks