A novel network-based method to realistically simulate the guidewire position in the vascular system is presented in this paper. We can always obtain an ideal guidewire path by the shortest path algorithm, particularly, critical path algorithm based on the principle of maximum path length. Besides, we propose an adaptive sampling algorithm and optimizations based on two ends of the guidewire to adjust the guidewire position toward achieving an ideal simulation result. Compared with previous results, we can achieve 29%, 20% and 47% improvements in accuracy for three phantoms under the same conditions.