perf(view factory): 14% Precompute linking information for nodes

The Default TreeComponent benchmark dropped from 572ms to 501ms

Closes #1194