I can shed some light on this since I design bikes for a living. There’s a list of driving dimensions that control fit and geometry and there are some driven dimensions that are important for toe-overlap, pedal clearance, FD angle, trail and such. There are two main approaches. One where effective toptube length and headtube length are used as driving dimensions and one where stack and reach are used as driving dimensions. Both work pretty much the same. Here’s a list of driving dimensions using the TT/HT length
-Rear center (chainstay)
Wheel diameter has an influence on fit and handling but for all intends and purposes is a driven dimension. I don’t use Grasshopper for this but rather SolidWorks design tables, but the end result should be the same since you are controlling the same parameters.