HIBIIRO
How to Use “Edge Paths to Curves” and “Shortest Edge Paths” in Blender Geometry Nodes
Environment
Blender 3.5.1
Basic Setup: Edge Paths to Curves
Start with a guide mesh (here, a `3 × 3` Grid).
Connect the grid to Edge Paths to Curves, then feed the output curve into Curve to Mesh with a profile curve.
Use a Compare (Equal, Integer) node connected to the vertex Index to pick the Start Vertices, and connect an Integer node to Next Vertex Index. As you change the integer value, the generated path jumps to target that vertex index. Combining the original grid via Join Geometry makes it easy to visualize where each index sits:



If you leave Start Vertices unconnected (true for all vertices), paths are drawn from every vertex to the specified Next Vertex Index:

Tracing Mesh Edges with Shortest Edge Paths
To make the curve follow existing mesh edges rather than cutting straight across to a single vertex index, plug the Shortest Edge Paths node into Next Vertex Index, and select the End Vertex using an Index Compare node:



Bonus: Generating Procedural Roots and Vines
Increase the Grid subdivisions and distort vertex positions using Set Position multiplied by a Noise Texture:

Next, plug a Random Value node into the Edge Cost socket of Shortest Edge Paths so the paths meander organically:

Add Set Curve Radius driven by the Spline Parameter (Factor) so the branches taper from thick trunks to thin tips, then convert to mesh with Curve to Mesh and smooth with Subdivision Surface to create organic tree roots or crawling vines—on flat grids or any 3D mesh surface!


