Some toughts on discrete differential geometry and half-edge meshes.
Milton Montiel
Graph Creation and Evaluation
Recreating Blender Geometry Nodes.