Blender, Procedural, 3d Modeling, Geometry Node, Coding.
series of end vertices. It actually does everything we need. For example several rivers might join together if their shortest paths aligns. Or streams wont flow to the other side of the model, but find the closest path to the main river. Even cooler is that the node allows us to provide our own