Moving curve control points in relation to attractor points

Hello everyone,
I am Giorgio and this is my first post in the community.

I am modeling some ceiling elements extruded along isolines generated between two curves taken from the Revit model.
After a few failed attempts I managed to create the elements I wanted; now these elements collide with a certain number of columns and I would like to be able to deform the created isolines so that they “dodge” the pillars.

I have already tried to search something about attractor points, but I could not find anything similar to my problem in the forum.
Ideally I would like to modify the points on the curve like in this example i found from Grasshopper.

Does anyone have an idea of any related node or how to achieve a similar result with Dynamo?

Link to the script

I am using
Dynamo 2.12.1.8411
spring nodes | v.210.1.1
Revit 2022.1.3

Thank you!