front-end send whole topology information to backend, and backend will calculate each path
front-end send whole topology information to backend, and backend will calculate each path