resolve parameters using the graph not the execution order